1 | <?php |
||
24 | class DocumentManager extends BaseDocumentManager |
||
25 | { |
||
26 | /** |
||
27 | * Repository factory. |
||
28 | * |
||
29 | * @var DefaultRepositoryFactory |
||
30 | */ |
||
31 | protected $repositoryFactory; |
||
32 | |||
33 | /** |
||
34 | * Default repository class name. |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $repositoryClassName = 'Doctrine\ODM\CouchDB\DocumentRepository'; |
||
39 | |||
40 | /** |
||
41 | * Get repository factory. |
||
42 | * |
||
43 | * @return DefaultRepositoryFactory |
||
44 | */ |
||
45 | public function getRepositoryFactory() |
||
53 | |||
54 | /** |
||
55 | * Set repository factory. |
||
56 | * |
||
57 | * @param DefaultRepositoryFactory $repositoryFactory |
||
58 | */ |
||
59 | public function setRepositoryFactory(DefaultRepositoryFactory $repositoryFactory) |
||
63 | |||
64 | /** |
||
65 | * Get default repository class name. |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getDefaultRepositoryClassName() |
||
73 | |||
74 | /** |
||
75 | * Set default repository class name. |
||
76 | * |
||
77 | * @param string $className |
||
78 | * |
||
79 | * @throws \InvalidArgumentException |
||
80 | */ |
||
81 | public function setDefaultRepositoryClassName($className) |
||
94 | |||
95 | /** |
||
96 | * Gets the repository for a class. |
||
97 | * |
||
98 | * @param string $documentName |
||
99 | * |
||
100 | * @return \Doctrine\ODM\CouchDB\DocumentRepository |
||
101 | */ |
||
102 | public function getRepository($documentName) |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public static function create($couchParams, Configuration $config = null, EventManager $evm = null) |
||
122 | } |
||
123 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.