Symfony\Component\Config\Loader\Loader::resolve
Finds a loader able to load an imported resource.
Signature
public function resolve(mixed
$resource,
[string
$type = null] )
Parameters
$resource
— mixed- A Resource
$type
— string- The resource type
Returns
- LoaderInterface
- A LoaderInterface instance
Errors/Exceptions
-
FileLoaderLoadException
- if no loader is found