| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | /** |
||
| 11 | * Provides ResourceInterface and derived bindings |
||
| 12 | * |
||
| 13 | * The following module is installed: |
||
| 14 | * |
||
| 15 | * AppName |
||
| 16 | * |
||
| 17 | * The following module is installed: |
||
| 18 | * |
||
| 19 | * ResourceClientModule |
||
| 20 | 51 | * AnnotationModule |
|
| 21 | * EmbedResourceModule |
||
| 22 | 51 | * HttpClientModule |
|
| 23 | 51 | */ |
|
| 24 | 51 | final class ResourceModule extends AbstractModule |
|
| 25 | { |
||
| 26 | private string $appName; |
||
| 27 | |||
| 28 | /** |
||
| 29 | 51 | * @param string $appName Application name ex) 'Vendor\Project' |
|
| 30 | */ |
||
| 31 | 51 | public function __construct(string $appName = '') |
|
| 32 | 51 | { |
|
| 33 | 51 | $this->appName = $appName; |
|
| 49 |