| 1 | <?php |
||
| 19 | abstract class AbstractFacade |
||
| 20 | { |
||
| 21 | protected static $container; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Facade service container. |
||
| 25 | */ |
||
| 26 | 3 | public static function setFacadeContainer(ContainerInterface $container) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * Get the registered id of the service. |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | abstract protected static function getFacadeAccessor(); |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Handle dynamic calls to the service. |
||
| 40 | * |
||
| 41 | * @param string $method |
||
| 42 | * @param array $arguments |
||
| 43 | * |
||
| 44 | * @return mixed |
||
| 45 | * |
||
| 46 | * @throws \RuntimeException |
||
| 47 | */ |
||
| 48 | 2 | public static function __callStatic($method, $arguments) |
|
| 60 | } |
||
| 61 |