/** * Get the entity manager registry * @return \Drest\EntityManagerRegistry */ protected function getEntityManagerRegistry() { return $this->service->getEntityManagerRegistry(); }