@@ -30,6 +30,9 @@ |
||
30 | 30 | |
31 | 31 | private $className; |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $className |
|
35 | + */ |
|
33 | 36 | public function __construct(EntityManagerInterface $entityManager, $className) |
34 | 37 | { |
35 | 38 | $this->entityManager = $entityManager; |
@@ -103,6 +103,9 @@ |
||
103 | 103 | return $this->getEntityRepository()->findOneBy($criteria); |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @return string |
|
108 | + */ |
|
106 | 109 | public function getClassName() |
107 | 110 | { |
108 | 111 | return $this->getEntityRepository()->getClassName(); |