interface LoaderInterface
LoaderInterface is the interface implemented by all loader classes.
Methods
load(mixed $resource, string|null $type = null) Loads a resource. | ||
bool | supports(mixed $resource, string|null $type = null) Returns whether this class supports the given resource. | |
LoaderResolverInterface | getResolver() Gets the loader resolver. | |
setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. |
Details
load(mixed $resource, string|null $type = null)
Loads a resource.
bool supports(mixed $resource, string|null $type = null)
Returns whether this class supports the given resource.
LoaderResolverInterface getResolver()
Gets the loader resolver.
setResolver(LoaderResolverInterface $resolver)
Sets the loader resolver.
Please login to continue.