| 1 | <?php |
||
| 10 | class MongoDBRepository |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var |
||
| 14 | */ |
||
| 15 | protected $manager; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var |
||
| 19 | */ |
||
| 20 | protected $class; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param ObjectManager $manager |
||
| 24 | * @param $class |
||
| 25 | */ |
||
| 26 | public function __construct(ObjectManager $manager, $class) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return mixed |
||
| 34 | */ |
||
| 35 | public function getClassName() : string |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return ObjectManager |
||
| 42 | */ |
||
| 43 | protected function getManager() : ObjectManager |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return mixed |
||
| 50 | */ |
||
| 51 | public function createQueryBuilder() |
||
| 55 | } |
||
| 56 |