LoaderInterface
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.
getResolver()
Gets the loader resolver.
Details
at line line 29
load(mixed $resource, string|null $type = null)
Loads a resource.
at line line 39
bool
supports(mixed $resource, string|null $type = null)
Returns whether this class supports the given resource.
at line line 46
LoaderResolverInterface
getResolver()
Gets the loader resolver.
at line line 53
setResolver(LoaderResolverInterface $resolver)
Sets the loader resolver.