| Total Complexity | 2 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class ReleaseEventsMiddleware implements Middleware  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @param EmitterInterface $emitter  | 
            ||
| 12 | */  | 
            ||
| 13 | protected $emitter;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * @param EmitterInterface $emitter  | 
            ||
| 17 | */  | 
            ||
| 18 | public function __construct(EmitterInterface $emitter)  | 
            ||
| 19 |     { | 
            ||
| 20 | $this->emitter = $emitter;  | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @param object $command  | 
            ||
| 25 | * @param callable $next  | 
            ||
| 26 | *  | 
            ||
| 27 | * @return mixed  | 
            ||
| 28 | */  | 
            ||
| 29 | public function execute($command, callable $next)  | 
            ||
| 36 | }  | 
            ||
| 37 | }  | 
            ||
| 38 |