public function __construct(EntityManager $em, ORMPurger $purger = null)
 {
     parent::__construct($em, $purger);
     $this->persistQueue = array();
     $this->relationships = array();
 }
Exemplo n.º 2
0
 /**
  * Construct new fixtures loader instance.
  *
  * @param EntityManagerInterface $manager EntityManagerInterface instance used for persistence.
  * @param LoaderInterface        $loader
  * @param ORMPurger              $purger
  */
 public function __construct(EntityManagerInterface $manager, LoaderInterface $loader, ORMPurger $purger = null)
 {
     parent::__construct($manager, $purger);
     $this->loader = $loader;
 }