Пример #1
0
 /**
  * 
  * {@inheritDoc}
  */
 public function load(ObjectManager $manager)
 {
     $cms = new cms();
     $cms->setHeading('Here lies a heading');
     $cms->setLink('http://imgur.com/cylQ780');
     $cms->setImage('http://i.imgur.com/cylQ780.png');
     $manager->persist($cms);
     $manager->flush();
 }