1 | <?php |
||
14 | class InnmindNeo4jExtension extends Extension |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | public function load(array $configs, ContainerBuilder $container) |
||
47 | |||
48 | /** |
||
49 | * Inject the defined service in the unit of work |
||
50 | * |
||
51 | * @param ContainerBuilder $container |
||
52 | * @param string $service |
||
53 | * |
||
54 | * @return self |
||
55 | */ |
||
56 | private function injectPersister( |
||
66 | |||
67 | /** |
||
68 | * Inject value objects to make the connection work |
||
69 | * |
||
70 | * @param ContainerBuilder $container |
||
71 | * @param array $config |
||
72 | * |
||
73 | * @return self |
||
74 | */ |
||
75 | private function configureConnection( |
||
98 | |||
99 | /** |
||
100 | * Register the classes as added property types |
||
101 | * |
||
102 | * @param ContainerBuilder $container |
||
103 | * @param array $types |
||
104 | * |
||
105 | * @return self |
||
106 | */ |
||
107 | private function registerTypes( |
||
119 | |||
120 | /** |
||
121 | * Inject the configuration object into the metadata builder |
||
122 | * |
||
123 | * @param ContainerBuilder $container |
||
124 | * @param string $config |
||
125 | * |
||
126 | * @return self |
||
127 | */ |
||
128 | private function injectMetadataConfiguration( |
||
138 | } |
||
139 |