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