1 | <?php |
||
22 | class DocumentDataSourceFactory implements DocumentDataSourceFactoryInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var DocumentManager |
||
26 | */ |
||
27 | protected $dm; |
||
28 | |||
29 | /** |
||
30 | * @var SpecificationVisitorFactoryInterface |
||
31 | */ |
||
32 | protected $specificationVisitorFactory; |
||
33 | |||
34 | /** |
||
35 | * @var ComparatorVisitorFactoryInterface |
||
36 | */ |
||
37 | protected $comparatorVisitorFactory; |
||
38 | |||
39 | /** |
||
40 | * @param DocumentManager $dm |
||
41 | * @param SpecificationVisitorFactoryInterface $specificationVisitorFactory |
||
42 | * @param ComparatorVisitorFactoryInterface $comparatorVisitorFactory |
||
43 | */ |
||
44 | public function __construct( |
||
53 | |||
54 | public function create($documentName = null) |
||
63 | } |
||
64 |