private function listPublicationEntry(Request $request, FeedEntry $entry)
    {
        $items = array_map(function ($item) use ($request) {
            return $this->listPublicationEntryItem($request, $item);
        }, iterator_to_array($entry->getItems()));

        return [
            'id'           => $entry->getId(),
            'author_email' => $entry->getAuthorEmail(),
            'author_name'  => $entry->getAuthorName(),
            'created_on'   => $entry->getCreatedOn()->format(DATE_ATOM),
            'updated_on'   => $entry->getUpdatedOn()->format(DATE_ATOM),
            'title'        => $entry->getTitle(),
            'subtitle'     => $entry->getSubtitle(),
            'items'        => $items,
            'feed_id'      => $entry->getFeed()->getId(),
            'feed_title'   => $entry->getFeed()->getTitle(),
            'feed_url'     => '/feeds/' . $entry->getFeed()->getId() . '/content/',
            'url'          => '/feeds/entry/' . $entry->getId() . '/',
        ];
    }
private function listPublicationEntry(Request $request, FeedEntry $entry)
    {
        $items = array_map(function ($item) use ($request) {
            return $this->listPublicationEntryItem($request, $item);
        }, iterator_to_array($entry->getItems()));

        return [
            'id'           => $entry->getId(),
            'author_email' => $entry->getAuthorEmail(),
            'author_name'  => $entry->getAuthorName(),
            'created_on'   => $entry->getCreatedOn()->format(DATE_ATOM),
            'updated_on'   => $entry->getUpdatedOn()->format(DATE_ATOM),
            'title'        => $entry->getTitle(),
            'subtitle'     => $entry->getSubtitle(),
            'items'        => $items,
            'feed_id'      => $entry->getFeed()->getId(),
            'feed_title'   => $entry->getFeed()->getTitle(),
            'feed_url'     => '/feeds/' . $entry->getFeed()->getId() . '/content/',
            'url'          => '/feeds/entry/' . $entry->getId() . '/',
        ];
    }
private function listPublicationEntry ( Request $ request , FeedEntry $ entry ) { $ items = array_map ( function ( $ item ) use ( $ request ) { return $ this -> listPublicationEntryItem ( $ request , $ item ) ; } , iterator_to_array ( $ entry -> getItems ( ) ) ) ; return [ 'id' => $ entry -> getId ( ) , 'author_email' => $ entry -> getAuthorEmail ( ) , 'author_name' => $ entry -> getAuthorName ( ) , 'created_on' => $ entry -> getCreatedOn ( ) -> format ( DATE_ATOM ) , 'updated_on' => $ entry -> getUpdatedOn ( ) -> format ( DATE_ATOM ) , 'title' => $ entry -> getTitle ( ) , 'subtitle' => $ entry -> getSubtitle ( ) , 'items' => $ items , 'feed_id' => $ entry -> getFeed ( ) -> getId ( ) , 'feed_title' => $ entry -> getFeed ( ) -> getTitle ( ) , 'feed_url' => '/feeds/' . $ entry -> getFeed ( ) -> getId ( ) . '/content/' , 'url' => '/feeds/entry/' . $ entry -> getId ( ) . '/' , ] ; }
Retrieve detailed information about one feed entry

@param Request    $request
@param FeedEntry $entry
@return array
Retrieve detailed information about one feed entry