Ejemplo n.º 1
0
 public function load(ObjectManager $manager)
 {
     $skills = new Skills();
     $skills->setRowOrder(1);
     $skills->setSkillName('Cooking');
     $skills->setCompetency('Master Chef!');
     $skills->setYearsExperience(17);
     $skills->setDescription('I make the best beans on toast in the world!');
     $manager->persist($skills);
     $manager->flush();
 }
Ejemplo n.º 2
0
 public function __construct(EntityManager $em)
 {
     $this->originalEntityName = Skills::getRepoName();
     parent::__construct($em);
 }