| 1 | <?php |
||
| 17 | class MongoAdapter implements FinderAdapterInterface |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Entity manager instance |
||
| 22 | * @var EntityManagerInterface |
||
| 23 | */ |
||
| 24 | private $em = null; |
||
| 25 | |||
| 26 | 69 | public function __construct(AnnotatedInterface $model, Mangan $mangan, EntityManagerInterface $em = null) |
|
| 30 | |||
| 31 | 19 | public function count(CriteriaInterface $criteria) |
|
| 35 | |||
| 36 | 24 | public function findMany(CriteriaInterface $criteria, $fields = []) |
|
| 40 | |||
| 41 | 52 | public function findOne(CriteriaInterface $criteria, $fields = []) |
|
| 45 | |||
| 46 | } |
||
| 47 |