public function getRepository($className) { return $this->container->getService($this->repositoryNamesMap[$className]); }