| Total Complexity | 3 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | class DecoratingMessageDispatcher implements MessageDispatcher  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var MessageDispatcher  | 
            ||
| 11 | */  | 
            ||
| 12 | private $dispatcher;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var MessageDecorator  | 
            ||
| 16 | */  | 
            ||
| 17 | private $decorator;  | 
            ||
| 18 | |||
| 19 | public function __construct(MessageDispatcher $dispatcher, MessageDecorator $decorator = null)  | 
            ||
| 23 | }  | 
            ||
| 24 | |||
| 25 | public function dispatch(Message ...$messages): void  | 
            ||
| 31 |