class DelegatingLoader extendsLoader

DelegatingLoader delegates loading to other loaders using a loader resolver.

This loader acts as an array of LoaderInterface objects - each having a chance to load a given resource (handled by the resolver)

Methods

__construct(LoaderResolverInterface$resolver)

No description

mixed
load(mixed$resource,string$type =null)

No description

bool
supports(mixed$resource,string$type =null)

No description

Details

__construct(LoaderResolverInterface$resolver)

Parameters

LoaderResolverInterface $resolver

mixed load(mixed$resource,string$type =null)

Parameters

mixed $resource
string $type

Return Value

mixed

bool supports(mixed$resource,string$type =null)

Parameters

mixed $resource
string $type

Return Value

bool