LoaderResolverInterface
in
LoaderResolverInterface selects a loader for a given resource.
Tags
Table of Contents
- resolve() : LoaderInterface|false
- Returns a loader able to load the resource.
Methods
resolve()
Returns a loader able to load the resource.
public
resolve(mixed $resource[, string|null $type = null ]) : LoaderInterface|false
Parameters
- $resource : mixed
-
A resource
- $type : string|null = null
-
The resource type or null if unknown