| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 62.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class OldInputMiddleware { |
||
| 19 | /** |
||
| 20 | * OldInput service. |
||
| 21 | * |
||
| 22 | * @var OldInput |
||
| 23 | */ |
||
| 24 | protected $old_input = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor. |
||
| 28 | * |
||
| 29 | * @param OldInput $old_input |
||
| 30 | */ |
||
| 31 | public function __construct( OldInput $old_input ) { |
||
| 32 | $this->old_input = $old_input; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritDoc} |
||
| 37 | */ |
||
| 38 | 3 | public function handle( RequestInterface $request, Closure $next ) { |
|
| 44 | } |
||
| 45 | } |
||
| 46 |