Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class AbstractRestApiServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | abstract protected function getApiName(): string; |
||
16 | |||
17 | abstract protected function getApiConfig(): array; |
||
18 | |||
19 | public function register() |
||
27 | } |
||
28 | } |
||
29 | } |
||
30 | |||
31 | private function registerResourceClass(string $apiName, string $resourceClass) |
||
44 |
This check looks for imports that have been defined, but are not used in the scope.