PHP Class Symfony\Component\Routing\Loader\DelegatingLoader

This loader acts as an array of LoaderInterface objects - each having a chance to load a given resource (handled by the resolver)
Author: Fabien Potencier ([email protected])
Inheritance: extends Loader
Afficher le fichier Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Свойство Type Description
$resolver Symfony\Component\Routing\Loader\LoaderResolverInterface

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Routing\Loader\LoaderResolverInterface $resolver ) Constructor.
load ( mixed $resource ) : RouteCollection Loads a resource.
supports ( mixed $resource ) : boolean Returns true if this class supports the given resource.

Method Details

__construct() public méthode

Constructor.
public __construct ( Symfony\Component\Routing\Loader\LoaderResolverInterface $resolver )
$resolver Symfony\Component\Routing\Loader\LoaderResolverInterface A LoaderResolverInterface instance

load() public méthode

Loads a resource.
public load ( mixed $resource ) : RouteCollection
$resource mixed A resource
Résultat Symfony\Component\Routing\RouteCollection A RouteCollection instance

supports() public méthode

Returns true if this class supports the given resource.
public supports ( mixed $resource ) : boolean
$resource mixed A resource
Résultat boolean true if this class supports the given resource, false otherwise

Property Details

$resolver protected_oe property

protected LoaderResolverInterface,Symfony\Component\Routing\Loader $resolver
Résultat Symfony\Component\Routing\Loader\LoaderResolverInterface