ModelBundle/DataFixtures/MongoDB/LoadContentData.php
protected function addBaseContent($id, $type, $typeVersion)
    {
        $content = new Content();
        $content->setContentId($id);
        $content->setContentType($type);
        $content->setDeleted(false);
        $content->setCreatedBy('admin');
        $content->setStatus($this->getReference('status-published'));

        return $content;
    }
protected function addBaseContent($id, $type, $typeVersion)
    {
        $content = new Content();
        $content->setContentId($id);
        $content->setContentType($type);
        $content->setDeleted(false);
        $content->setCreatedBy('admin');
        $content->setStatus($this->getReference('status-published'));

        return $content;
    }
protected function addBaseContent ( $ id , $ type , $ typeVersion ) { $ content = new Content ( ) ; $ content -> setContentId ( $ id ) ; $ content -> setContentType ( $ type ) ; $ content -> setDeleted ( false ) ; $ content -> setCreatedBy ( 'admin' ) ; $ content -> setStatus ( $ this -> getReference ( 'status-published' ) ) ; return $ content ; }
@param string $id
@param string $type
@param int    $typeVersion

@return Content
@param string $id @param string $type @param int $typeVersion