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