1 | <?php |
||
25 | abstract class DoctrineODMCommand extends Command |
||
26 | { |
||
27 | /** |
||
28 | * @return DocumentGenerator |
||
29 | */ |
||
30 | protected function getDocumentGenerator() |
||
41 | |||
42 | /** |
||
43 | * Get a doctrine document manager by symfony name. |
||
44 | * |
||
45 | * @param string $name |
||
46 | * |
||
47 | * @return \Doctrine\ODM\MongoDB\Tools\DocumentGenerator |
||
48 | */ |
||
49 | protected function getDocumentManager($name) |
||
55 | |||
56 | /** |
||
57 | * Get a doctrine document manager by symfony name. |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | protected function getDefaultManagerName() |
||
67 | |||
68 | |||
69 | /** |
||
70 | * Get a doctrine dbal connection by symfony name. |
||
71 | * |
||
72 | * @param string $name |
||
73 | * |
||
74 | * @return \Doctrine\MongoDB\Connection |
||
75 | */ |
||
76 | protected function getDoctrineConnection($name) |
||
82 | } |
||
83 |