| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class AbstractConfigurableEnvironment extends AbstractEnvironment implements ConfigurableEnvironmentInterface |
||
| 12 | { |
||
| 13 | use ConfigurableEnvironmentTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param mixed[]|\Traversable $configuration |
||
| 17 | */ |
||
| 18 | public function __construct(?iterable $configuration = null) |
||
| 19 | { |
||
| 20 | $this->configuration = Configuration::create($configuration); |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function injectEnvironmentAndConfigurationIfNeeded(object $object): void |
||
| 29 | } |
||
| 30 | } |
||
| 32 |