| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class DefaultPathRuntime implements RuntimeExtensionInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var CapabilityApiInterface |
||
| 24 | */ |
||
| 25 | private $capabilityApi; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var RouterInterface |
||
| 29 | */ |
||
| 30 | private $router; |
||
| 31 | |||
| 32 | public function __construct( |
||
| 33 | CapabilityApiInterface $capabilityApi, |
||
| 34 | RouterInterface $router |
||
| 35 | ) { |
||
| 36 | $this->capabilityApi = $capabilityApi; |
||
| 37 | $this->router = $router; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getDefaultPath(string $extensionName, $type = CapabilityApiInterface::USER): string |
||
| 51 | } |
||
| 52 | } |
||
| 53 |