Code Coverage  | 
      ||||||||||
Classes and Traits  | 
       Functions and Methods  | 
       Lines  | 
      ||||||||
| Total |         | 
       0.00%  | 
       0 / 1  | 
               | 
       0.00%  | 
       0 / 1  | 
       CRAP |         | 
       0.00%  | 
       0 / 4  | 
      
| AfterMiddleware |         | 
       0.00%  | 
       0 / 1  | 
               | 
       0.00%  | 
       0 / 1  | 
       2 |         | 
       0.00%  | 
       0 / 4  | 
      
| handle |         | 
       0.00%  | 
       0 / 1  | 
       2 |         | 
       0.00%  | 
       0 / 4  | 
      |||
| 1 | <?php | 
| 2 | |
| 3 | namespace Qmp\Laravel\CommandsLaravel\Middleware\Library\Exemple; | 
| 4 | |
| 5 | use Closure; | 
| 6 | use Qmp\Laravel\CommandsLaravel\Middleware\Core\Interfaces\IOConnectorInterface; | 
| 7 | use Qmp\Laravel\CommandsLaravel\Middleware\Core\Middleware; | 
| 8 | |
| 9 | class AfterMiddleware extends Middleware | 
| 10 | { | 
| 11 | /** | 
| 12 | * Undocumented function | 
| 13 | * | 
| 14 | * @param IOConnectorInterface $IOinterface | 
| 15 | * @param Closure $next | 
| 16 | * @return void | 
| 17 | */ | 
| 18 | public function handle($IOinterface, $next) | 
| 19 | { | 
| 20 | $this->setInterface($IOinterface); | 
| 21 | $next = $next($IOinterface); | 
| 22 | $this->data->value = "some value"; | 
| 23 | return $next; | 
| 24 | } | 
| 25 | } |