| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 12 | public function loadConfiguration(): void |
||
| 13 | { |
||
| 14 | $this->loadServicesFromConfig(); |
||
| 15 | |||
| 16 | $containerBuilder = $this->getContainerBuilder(); |
||
| 17 | |||
| 18 | $backend = $containerBuilder->addDefinition($this->prefix('backend')) |
||
| 19 | ->setClass(Backend::class); |
||
| 20 | |||
| 21 | $containerBuilder->addDefinition($this->prefix('broker')) |
||
| 22 | ->setClass(Broker::class) |
||
| 23 | ->setArguments([ |
||
| 24 | $backend, |
||
| 25 | Broker::OPTION_DEFAULT & ~(Broker::OPTION_PARSE_FUNCTION_BODY | Broker::OPTION_SAVE_TOKEN_STREAM) |
||
| 26 | ]); |
||
| 27 | } |
||
| 28 | |||
| 37 |