| Total Complexity | 8 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 10 | class AuthenticationMiddleware implements Middleware  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * @var AuthenticationWorkflow  | 
            ||
| 14 | */  | 
            ||
| 15 | private $workflow;  | 
            ||
| 16 | |||
| 17 | public function __construct(AuthenticationWorkflow $workflow)  | 
            ||
| 18 |     { | 
            ||
| 19 | $this->workflow = $workflow;  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 |      * {@inheritdoc} | 
            ||
| 24 | */  | 
            ||
| 25 | public function execute($command, callable $next)  | 
            ||
| 55 | }  | 
            ||
| 56 | }  | 
            ||
| 57 |