Loader\LoaderInterface (Component\Config)
Symfony\Component\Config\Loader\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. | |
LoaderResolverInterface | getResolver() Gets the loader resolver. | |
setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. |
Details
public load(mixed $resource, string|null $type = null)
Loads a resource.
public bool supports(mixed $resource, string|null $type = null)
Returns whether this class supports the given resource.
public LoaderResolverInterface getResolver()
Gets the loader resolver.
public setResolver(LoaderResolverInterface $resolver)
Sets the loader resolver.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Config/Loader/LoaderInterface.html