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