| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function execute($input = null) |
||
| 32 | { |
||
| 33 | if (!is_array($input)) { |
||
| 34 | throw new ExecutableException( |
||
| 35 | 'input must be an array' |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** @var \Net\Bazzline\Component\Locator\Configuration\Assembler\AssemblerInterface $assembler */ |
||
| 40 | $assembler = new $input['assembler']; |
||
| 41 | $configuration = $this->configuration; |
||
| 42 | $input['configuration'] = $assembler->assemble($input, $configuration); |
||
| 43 | |||
| 44 | return $input; |
||
| 45 | } |
||
| 46 | } |