| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 70% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class FlashMiddleware { |
||
| 19 | /** |
||
| 20 | * Flash service. |
||
| 21 | * |
||
| 22 | * @var Flash |
||
| 23 | */ |
||
| 24 | protected $flash = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor. |
||
| 28 | * |
||
| 29 | * @param Flash $flash |
||
| 30 | */ |
||
| 31 | public function __construct( Flash $flash ) { |
||
| 32 | $this->flash = $flash; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritDoc} |
||
| 37 | */ |
||
| 38 | 2 | public function handle( RequestInterface $request, Closure $next ) { |
|
| 47 | } |
||
| 48 | } |
||
| 49 |