Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Symfony
Component
Routing
Loader
AnnotationDirectoryLoader
PHP Class Symfony\Component\Routing\Loader\AnnotationDirectoryLoader
Author:
Fabien Potencier (
[email protected]
)
Inheritance:
extends
AnnotationFileLoader
Exibir arquivo
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Public Methods
Method
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
method
Loads from annotations from a directory.
public
load
(
string
$resource
) :
RouteCollection
$resource
string
A directory 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