| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class AuthenticationMiddleware |
||
| 18 | { |
||
| 19 | use Optionable; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $anonymousRoutes = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Class constructor |
||
| 28 | * |
||
| 29 | * @param array $anonymouseRoutes |
||
| 30 | * @author Ronan Chilvers <[email protected]> |
||
| 31 | */ |
||
| 32 | public function __construct($options = []) |
||
| 43 | } |
||
| 44 | |||
| 45 | public function __invoke(ServerRequestInterface $request, Response $response, $next) |
||
| 64 |