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