| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | abstract class AbstractSettingsApplication extends AbstractApiApplication |
||
| 18 | { |
||
| 19 | 2 | public function __construct( |
|
| 20 | private readonly PrivilegeCheckerInterface $privilegeChecker |
||
| 21 | ) { |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param array<string, scalar> $args |
||
| 26 | * |
||
| 27 | * @throws AccessViolation |
||
| 28 | */ |
||
| 29 | 2 | protected function run( |
|
| 42 | ); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param array<string, scalar> $args |
||
| 47 | * |
||
| 48 | * @return array<mixed> |
||
| 49 | * } |
||
| 50 | */ |
||
| 51 | abstract protected function serve( |
||
| 52 | ServerRequestInterface $request, |
||
| 53 | array $args |
||
| 54 | ): array; |
||
| 55 | } |
||
| 56 |