public function __construct(string $endpointNamespace, EntityManager $em) { parent::__construct($endpointNamespace); $this->entityManager = $em; }