LoaderResolverInterface selects a loader for a given resource.
public
resolve(mixed $resource, string|null $type = null): LoaderInterface|false
Returns a loader able to load the resource.
The resource type or null if unknown