public function loadPublisher() { $objects = $this->aliceManager->loadFiles([$this->fixturesRoot . 'publisher.yml']); $this->aliceManager->persist($objects, false); return $objects['publisher']->getId(); }