| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class BaseUriFactory implements PluginFactory |
||
| 12 | { |
||
| 13 | private UriFactoryInterface $uriFactory; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * AddHostFactory constructor. |
||
| 17 | */ |
||
| 18 | public function __construct(UriFactoryInterface $uriFactory) |
||
| 19 | { |
||
| 20 | $this->uriFactory = $uriFactory; |
||
| 21 | 1 | } |
|
| 22 | |||
| 23 | 1 | /** |
|
| 24 | 1 | * @param array<string, mixed> $config |
|
| 25 | */ |
||
| 26 | public function createPlugin(array $config = []): Plugin |
||
| 31 | 1 | ); |
|
| 32 | } |
||
| 34 |