class DelegatingLoader extends DelegatingLoader
DelegatingLoader delegates route loading to other loaders using a loader resolver.
This implementation resolves the _controller attribute from the short notation
to the fully-qualified form (from a:b:c to class:method).
Methods
|
__construct(ControllerNameParser $parser, LoggerInterface $logger = null, LoaderResolverInterface $resolver)
Constructor. |
||
| RouteCollection |
load(mixed $resource, string $type = null)
Loads a resource. |
|
| Boolean |
supports(mixed $resource, string $type = null)
Returns true if this class supports the given resource. |
from DelegatingLoader |
Details
at line 39
public
__construct(ControllerNameParser $parser, LoggerInterface $logger = null, LoaderResolverInterface $resolver)
Constructor.
at line 55
public RouteCollection
load(mixed $resource, string $type = null)
Loads a resource.
in DelegatingLoader at line 58
public Boolean
supports(mixed $resource, string $type = null)
Returns true if this class supports the given resource.