Property | Type | Description | |
---|---|---|---|
$loaders |
Method | Description | |
---|---|---|
__construct ( array $loaders = [] ) | Constructor. | |
addLoader ( Symfony\Component\Routing\Loader\LoaderInterface $loader ) | Adds a loader. | |
getLoaders ( ) : Symfony\Component\Routing\Loader\LoaderInterface[] | Returns the registered loaders. | |
resolve ( mixed $resource ) : Symfony\Component\Routing\Loader\LoaderInterface | false | Returns a loader able to load the resource. |
public __construct ( array $loaders = [] ) | ||
$loaders | array | An array of loaders |
public addLoader ( Symfony\Component\Routing\Loader\LoaderInterface $loader ) | ||
$loader | Symfony\Component\Routing\Loader\LoaderInterface | A LoaderInterface instance |
public getLoaders ( ) : Symfony\Component\Routing\Loader\LoaderInterface[] | ||
return | Symfony\Component\Routing\Loader\LoaderInterface[] | An array of LoaderInterface instances |