| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function register() |
||
| 20 | { |
||
| 21 | $apiName = $this->getApiName(); |
||
| 22 | $apiConfig = $this->getApiConfig(); |
||
| 23 | $this->app->get('config')->set('apie.contexts.' . $apiName, $apiConfig); |
||
| 24 | if ($apiConfig['bind-api-resource-facade-response'] ?? true) { |
||
| 25 | foreach ($apiConfig['resources'] as $resourceClass) { |
||
| 26 | $this->registerResourceClass($apiName, $resourceClass); |
||
| 27 | } |
||
| 44 |
This check looks for imports that have been defined, but are not used in the scope.