| 1 | <?php  | 
            ||
| 8 | class GeneratorEventDispatcher implements GeneratorListenerInterface  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @var GeneratorListenerInterface[]  | 
            ||
| 12 | */  | 
            ||
| 13 | private $listeners;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * GeneratorEventDispatcher constructor.  | 
            ||
| 17 | * @param GeneratorListenerInterface[] $listeners  | 
            ||
| 18 | */  | 
            ||
| 19 | public function __construct(array $listeners)  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @param ConfigurationInterface $configuration  | 
            ||
| 26 | * @param BeanDescriptorInterface[] $beanDescriptors  | 
            ||
| 27 | */  | 
            ||
| 28 | public function onGenerate(ConfigurationInterface $configuration, array $beanDescriptors): void  | 
            ||
| 34 | }  | 
            ||
| 35 |