PHP Class Symfony\Component\Routing\Loader\AnnotationDirectoryLoader

Author: Fabien Potencier ([email protected])
Inheritance: extends AnnotationFileLoader
Afficher le fichier Open project: pmjones/php-framework-benchmarks Class Usage Examples

Méthodes publiques

Méthode Description
load ( string $resource ) : RouteCollection Loads from annotations from a directory.
supports ( mixed $resource ) : boolean Returns true if this class supports the given resource.

Method Details

load() public méthode

Loads from annotations from a directory.
public load ( string $resource ) : RouteCollection
$resource string A directory prefixed with annotations:
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