class LoaderResolver implements LoaderResolverInterface
LoaderResolver selects a loader for a given resource.
A resource can be anything (e.g. a full path to a config file or a Closure). Each loader determines whether it can load a resource and how.
Returns a loader able to load the resource.