1 | <?php |
||
21 | class AlteredConfiguration implements ConfigurationInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var ConfigurationInterface |
||
25 | */ |
||
26 | private $configuration; |
||
27 | |||
28 | /** |
||
29 | * @var LoggerInterface |
||
30 | */ |
||
31 | private $logger; |
||
32 | |||
33 | public function __construct(ConfigurationInterface $configuration) |
||
38 | |||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getBeanNamespace(): string |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getDaoNamespace(): string |
||
55 | |||
56 | /** |
||
57 | * @return Connection |
||
58 | */ |
||
59 | public function getConnection(): Connection |
||
63 | |||
64 | /** |
||
65 | * @return Cache |
||
66 | */ |
||
67 | public function getCache(): Cache |
||
71 | |||
72 | /** |
||
73 | * @return NamingStrategyInterface |
||
74 | */ |
||
75 | public function getNamingStrategy(): NamingStrategyInterface |
||
79 | |||
80 | /** |
||
81 | * @return SchemaAnalyzer |
||
82 | */ |
||
83 | public function getSchemaAnalyzer(): SchemaAnalyzer |
||
87 | |||
88 | /** |
||
89 | * @return LoggerInterface |
||
90 | */ |
||
91 | public function getLogger(): ?LoggerInterface |
||
95 | |||
96 | /** |
||
97 | * @return GeneratorListenerInterface |
||
98 | */ |
||
99 | public function getGeneratorEventDispatcher(): GeneratorListenerInterface |
||
103 | |||
104 | /** |
||
105 | * @param LoggerInterface $logger |
||
106 | */ |
||
107 | public function setLogger(LoggerInterface $logger) |
||
111 | |||
112 | /** |
||
113 | * Returns a class able to find the place of a PHP file based on the class name. |
||
114 | * Useful to find the path where DAOs and beans should be written to. |
||
115 | * |
||
116 | * @return PathFinderInterface |
||
117 | */ |
||
118 | public function getPathFinder(): PathFinderInterface |
||
122 | } |
||
123 |