Content/ArticleResourceItemFactory.php
public function createResourceItem(ArticleViewDocumentInterface $articleViewDocument)
    {
        return new ArticleResourceItem(
            $articleViewDocument,
            $this->getResource($articleViewDocument->getUuid(), $articleViewDocument->getLocale())
        );
    }
public function createResourceItem(ArticleViewDocumentInterface $articleViewDocument)
    {
        return new ArticleResourceItem(
            $articleViewDocument,
            $this->getResource($articleViewDocument->getUuid(), $articleViewDocument->getLocale())
        );
    }
public function createResourceItem ( ArticleViewDocumentInterface $ articleViewDocument ) { return new ArticleResourceItem ( $ articleViewDocument , $ this -> getResource ( $ articleViewDocument -> getUuid ( ) , $ articleViewDocument -> getLocale ( ) ) ) ; }
Creates and returns article source item with proxy document.

@param ArticleViewDocumentInterface $articleViewDocument

@return ArticleResourceItem
Creates and returns article source item with proxy document .