Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
12 | public function build(ContainerBuilder $container) |
||
13 | { |
||
14 | parent::build($container); |
||
15 | |||
16 | $container->addCompilerPass(new AddTaggedCompilerPass( |
||
17 | 'paysera_rest.rest_request_options_registry', |
||
18 | 'paysera_rest.request_options', |
||
19 | 'registerRestRequestOptions', |
||
20 | ['controller'] |
||
21 | )); |
||
22 | |||
23 | $container->addCompilerPass(new AddTaggedCompilerPass( |
||
24 | 'paysera_rest.path_attribute_resolver_registry', |
||
25 | 'paysera_rest.path_attribute_resolver', |
||
26 | 'registerPathAttributeResolver', |
||
27 | ['type'] |
||
28 | )); |
||
29 | } |
||
30 | |||
40 |