The Database class serves as a facade for accessing the view component
within the application. By extending the AbstractFacade, it provides
a static interface for interacting with the underlying view functionality
registered in the application container.
This class implements the getFacadeAccessor method, which returns
the key used to resolve the underlying view instance. This allows
for a clean and straightforward way to access view-related features
without needing to instantiate the underlying components directly.
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.
Return the result of the method call on the underlying instance.
resolveFacadeInstance()
resolveFacadeInstance() : mixed
Resolve the facade instance.
This method retrieves the underlying instance for the facade from the application
container. It calls the resolve method on the application instance, using the
value returned by getFacadeAccessor.
Returns
mixed
—
Return the resolved instance of the underlying class.