Output/ViewBuilder.php
public function buildView(ContentfulEntry $entry, $locale)
    {
        $spaceId                         = $entry->getSpaceId();
        $fields                          = $this->localize($entry, $locale);
        $fields['cfMeta']                = array();
        $fields['cfMeta']['url']         = $entry->getContentfulUrl();
        $fields['cfMeta']['contentType'] = $this->contentAdapter->getContentTypeById($spaceId, $entry->getContentTypeId())->getName();
        $fields['cfMeta']['itemName']    = $entry->getName();
        $fields['cfMeta']['itemId']      = $entry->getId();
        $fields['cfMeta']['createdAt']   = $entry->getCreatedAt();
        $fields['cfMeta']['updatedAt']   = $entry->getUpdatedAt();
        $view                            = $this->createView($fields, $spaceId, $locale);
        return $view;
    }
public function buildView(ContentfulEntry $entry, $locale)
    {
        $spaceId                         = $entry->getSpaceId();
        $fields                          = $this->localize($entry, $locale);
        $fields['cfMeta']                = array();
        $fields['cfMeta']['url']         = $entry->getContentfulUrl();
        $fields['cfMeta']['contentType'] = $this->contentAdapter->getContentTypeById($spaceId, $entry->getContentTypeId())->getName();
        $fields['cfMeta']['itemName']    = $entry->getName();
        $fields['cfMeta']['itemId']      = $entry->getId();
        $fields['cfMeta']['createdAt']   = $entry->getCreatedAt();
        $fields['cfMeta']['updatedAt']   = $entry->getUpdatedAt();
        $view                            = $this->createView($fields, $spaceId, $locale);
        return $view;
    }
@param ContentfulEntry $entry
@param string          $locale

@return object