@@ -6,26 +6,34 @@ parameters:
6
6
bobv.entityhistory.entities : {}
7
7
8
8
services :
9
- bobv.entityhistory.configuration :
10
- class : BobV\EntityHistoryBundle\Configuration\HistoryConfiguration
9
+ BobV\EntityHistoryBundle\Configuration\HistoryConfiguration :
11
10
arguments :
12
11
- " @service_container"
13
12
calls :
14
13
- [injectVars, [ "%bobv.entityhistory.table_prefix%", "%bobv.entityhistory.table_suffix%", "%bobv.entityhistory.revision_field_name%", "%bobv.entityhistory.revision_type_field_name%", "%bobv.entityhistory.entities%", "%bobv.entityhistory.deleted_at_field%", "%bobv.entityhistory.deleted_by_field%", "%bobv.entityhistory.deleted_by_method%" ]]
15
14
16
- bobv.entityhistory.create_schema_subscriber :
17
- class : BobV\EntityHistoryBundle\EventSubscriber\CreateSchemaSubscriber
15
+ bobv.entityhistory.configuration :
16
+ alias : BobV\EntityHistoryBundle\Configuration\HistoryConfiguration
17
+
18
+ BobV\EntityHistoryBundle\EventSubscriber\CreateSchemaSubscriber :
18
19
arguments :
19
20
- " @bobv.entityhistory.configuration"
20
21
21
- bobv.entityhistory.log_history_subscriber :
22
- class : BobV\EntityHistoryBundle\EventSubscriber\LogHistorySubscriber
22
+ bobv.entityhistory.create_schema_subscriber :
23
+ alias : BobV\EntityHistoryBundle\EventSubscriber\CreateSchemaSubscriber
24
+
25
+ BobV\EntityHistoryBundle\EventSubscriber\LogHistorySubscriber :
23
26
arguments :
24
27
- " @bobv.entityhistory.configuration"
25
28
26
- bobv.entitybundle.history_reader :
27
- class : BobV\EntityHistoryBundle\Reader\HistoryReader
29
+ bobv.entityhistory.log_history_subscriber :
30
+ alias : BobV\EntityHistoryBundle\EventSubscriber\LogHistorySubscriber
31
+
32
+ BobV\EntityHistoryBundle\Reader\HistoryReader :
28
33
lazy : true
29
34
arguments :
30
35
- " @doctrine.orm.entity_manager"
31
- - " @bobv.entityhistory.configuration"
36
+ - " @bobv.entityhistory.configuration"
37
+
38
+ bobv.entitybundle.history_reader :
39
+ alias : BobV\EntityHistoryBundle\Reader\HistoryReader
0 commit comments