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(); }
public function __construct(EntityManager $em) { $this->originalEntityName = Skills::getRepoName(); parent::__construct($em); }