__callStatic()
__callStatic(string $method, array $arguments) : mixed
Handle dynamic static calls to the facade.
This magic method intercepts static method calls on the facade and delegates the call to the underlying instance retrieved from the application container. If the instance is not set, it throws a RuntimeException.
Parameters
string | $method | Holds the name of the method being called. |
array | $arguments | Holds the arguments passed to the method. |
Throws
- \Omega\Support\Facade\Exception\FacadeObjectNotSetException
If a facade root has not been set.
Returns
mixed —Return the result of the method call on the underlying instance.