ModelBundle/DataFixtures/MongoDB/LoadNodeDemoData.php
public function load(ObjectManager $manager)
    {
        $languages = array("de", "en", "fr");

        $homeNode = new HomeDataGenerator($this, $this->container, $manager, 1, 'status-draft');
        $this->addNode($manager, $homeNode, $languages);
    }
public function load(ObjectManager $manager)
    {
        $languages = array("de", "en", "fr");

        $homeNode = new HomeDataGenerator($this, $this->container, $manager, 1, 'status-draft');
        $this->addNode($manager, $homeNode, $languages);
    }
public function load ( ObjectManager $ manager ) { $ languages = array ( "de" , "en" , "fr" ) ; $ homeNode = new HomeDataGenerator ( $ this , $ this -> container , $ manager , 1 , 'status-draft' ) ; $ this -> addNode ( $ manager , $ homeNode , $ languages ) ; }
Load data fixtures with the passed EntityManager

@param ObjectManager $manager
Load data fixtures with the passed EntityManager