| 1 | <?php namespace Nwidart\LaravelBroadway\Registries;  | 
            ||
| 11 | class MetaDataEnricherRegistry extends BaseRegistry implements Registry  | 
            ||
| 12 | { | 
            ||
| 13 | /**  | 
            ||
| 14 | * @var MetadataEnrichingEventStreamDecorator $eventStreamDecorator  | 
            ||
| 15 | */  | 
            ||
| 16 | private $eventStreamDecorator;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * @param MetadataEnrichingEventStreamDecorator $eventStreamDecorator  | 
            ||
| 20 | */  | 
            ||
| 21 | public function __construct(MetadataEnrichingEventStreamDecorator $eventStreamDecorator)  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Subscribe the given array of command handlers on the command bus  | 
            ||
| 28 | * @param array $enrichers  | 
            ||
| 29 | */  | 
            ||
| 30 | public function subscribe($enrichers)  | 
            ||
| 38 | |||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * @return MetadataEnrichingEventStreamDecorator  | 
            ||
| 42 | */  | 
            ||
| 43 | public function getEventStreamDecorator()  | 
            ||
| 47 | }  | 
            ||
| 48 |