| 1 | <?php |
||
| 9 | class Datagen |
||
| 10 | { |
||
| 11 | private $loader; |
||
| 12 | private $processors = []; |
||
| 13 | |||
| 14 | 2 | public function __construct(Loader $loader, iterable $processors) |
|
| 21 | |||
| 22 | 2 | public function load(array $groups = [], array $excludeGroups = [], array $options = []): void |
|
| 42 | |||
| 43 | 2 | private function getProcessor(string $name): ProcessorInterface |
|
| 51 | } |
||
| 52 |
It seems like you are relying on a variable being defined by an iteration: