PHP Class Symfony\Component\Routing\Loader\AnnotationGlobLoader

Author: Fabien Potencier ([email protected])
Inheritance: extends AnnotationDirectoryLoader
Datei anzeigen Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
load ( array $resource ) : RouteCollection Loads from annotations from an array of directories.
supports ( mixed $resource ) : boolean Returns true if this class supports the given resource.

Protected Methods

Method Description
getAbsolutePaths ( $glob )

Method Details

getAbsolutePaths() protected method

protected getAbsolutePaths ( $glob )

load() public method

Loads from annotations from an array of directories.
public load ( array $resource ) : RouteCollection
$resource array An array of directories prefixed with annotations:
return Symfony\Component\Routing\RouteCollection A RouteCollection instance

supports() public method

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