1 | <?php |
||
18 | class Driver implements DriverInterface |
||
19 | { |
||
20 | /** |
||
21 | * Driver name |
||
22 | */ |
||
23 | const NAME = 'doctrine/phpcr-odm'; |
||
24 | |||
25 | /** |
||
26 | * Alias to use to reference fields from the data source class. |
||
27 | */ |
||
28 | const QB_SOURCE_ALIAS = 'o'; |
||
29 | |||
30 | /** |
||
31 | * @var DocumentManagerInterface |
||
32 | */ |
||
33 | private $documentManager; |
||
34 | |||
35 | /** |
||
36 | * @param DocumentManagerInterface $documentManager |
||
37 | */ |
||
38 | public function __construct(DocumentManagerInterface $documentManager) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getDataSource(array $configuration, Parameters $parameters) |
||
57 | } |
||
58 |