public function find($className, $id) { $repo = $this->getRepository($className); return $repo->find($id); }