| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class AbstractFacade |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Get the service identifier. |
||
| 13 | * |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | abstract protected static function getServiceIdentifier(): string; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Get the service instance. |
||
| 20 | * |
||
| 21 | * @return Service |
||
| 22 | */ |
||
| 23 | public static function instance(): mixed |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Call the service. |
||
| 30 | * |
||
| 31 | * @param string $method |
||
| 32 | * @param array $arguments |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public static function __callStatic(string $method, array $arguments): mixed |
||
| 42 |