Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
50.00% |
1 / 2 |
|
50.00% |
1 / 2 |
CRAP | |
0.00% |
0 / 1 |
ApiControllerBase | |
50.00% |
1 / 2 |
|
50.00% |
1 / 2 |
2.50 | |
0.00% |
0 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getSkipBaseName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\App\Controllers\Api; |
6 | |
7 | use PeServer\Core\Mvc\ControllerArgument; |
8 | use PeServer\App\Controllers\DomainControllerBase; |
9 | |
10 | /** |
11 | * [API] API処理コントローラ基底。 |
12 | */ |
13 | abstract class ApiControllerBase extends DomainControllerBase |
14 | { |
15 | protected function __construct(ControllerArgument $argument) |
16 | { |
17 | parent::__construct($argument); |
18 | } |
19 | |
20 | #region DomainControllerBase |
21 | |
22 | protected function getSkipBaseName(): string |
23 | { |
24 | return __NAMESPACE__; |
25 | } |
26 | |
27 | #endregion |
28 | } |