bakaphp /
phalcon-api
| 1 | <?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Gewaer\Middleware; |
||
| 6 | |||
| 7 | use Phalcon\Mvc\Micro; |
||
| 8 | use Phalcon\Mvc\Micro\MiddlewareInterface; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Class AuthenticationMiddleware |
||
| 12 | * |
||
| 13 | * @package Niden\Middleware |
||
| 14 | */ |
||
| 15 | class AuthenticationMiddleware implements MiddlewareInterface |
||
| 16 | {
|
||
| 17 | /** |
||
| 18 | * Call me |
||
| 19 | * |
||
| 20 | * @param Micro $api |
||
| 21 | * |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | public function call(Micro $api) |
||
| 25 | {
|
||
| 26 | return true; |
||
| 27 | } |
||
| 28 | } |
||
| 29 |