public function __construct(EntityManager $entityManager, $options = array(), EventDispatcherInterface $dispatcher = null)
 {
     parent::__construct($options, $dispatcher);
     $this->entityManager = $entityManager;
 }
 public function __construct(EntityManager $entityManager, $options = array())
 {
     parent::__construct($options);
     $this->entityManager = $entityManager;
 }