Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
SetupAccountFilterMiddleware | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
filter | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\App\Models\Middleware; |
6 | |
7 | use PeServer\App\Models\Domain\UserLevel; |
8 | use PeServer\Core\Mvc\Middleware\MiddlewareResult; |
9 | use PeServer\Core\Mvc\Middleware\MiddlewareArgument; |
10 | use PeServer\App\Models\Middleware\AccountFilterMiddlewareBase; |
11 | |
12 | final class SetupAccountFilterMiddleware extends AccountFilterMiddlewareBase |
13 | { |
14 | //[AccountFilterMiddlewareBase] |
15 | |
16 | protected function filter(MiddlewareArgument $argument): MiddlewareResult |
17 | { |
18 | return $this->filterCore($argument, [UserLevel::SETUP]); |
19 | } |
20 | } |