ModelBundle/DataFixtures/MongoDB/LoadContentNewsData.php
protected function addNewsAttributes($news, $title, $start, $end, $intro, $text)
    {
        $news->addAttribute($title);
        $news->addAttribute($start);
        $news->addAttribute($end);
        $news->addAttribute($intro);
        $news->addAttribute($text);

        return $news;
    }
protected function addNewsAttributes($news, $title, $start, $end, $intro, $text)
    {
        $news->addAttribute($title);
        $news->addAttribute($start);
        $news->addAttribute($end);
        $news->addAttribute($intro);
        $news->addAttribute($text);

        return $news;
    }
Fill news attributes

@param Content          $news
@param ContentAttribute $title
@param ContentAttribute $start
@param ContentAttribute $end
@param ContentAttribute $intro
@param ContentAttribute $text

@return Content