Example #1
0
 public function __construct(DocumentManager $dm, ValidatorInterface $validator, Loader $loader, RequestStack $requestStack)
 {
     parent::__construct($validator, $loader, $requestStack);
     $this->dm = $dm;
 }
Example #2
0
 public function __construct(EntityManager $em, ValidatorInterface $validator, Loader $loader, RequestStack $requestStack)
 {
     parent::__construct($validator, $loader, $requestStack);
     $this->em = $em;
 }