__construct()
__construct(string $className) : mixed
Parameters
string | $className |
Exception thrown when the underlying instance of a facade has not been set.
The FacadeObjectNotSetException
is triggered by the facade pattern when
the instance that the facade should reference is not found in the application
container. It usually indicates that the facade has not been properly registered
or the container has not been correctly configured.