Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Symfony
Component
Routing
Loader
AnnotationDirectoryLoader
PHP 클래스 Symfony\Component\Routing\Loader\AnnotationDirectoryLoader
저자:
Fabien Potencier (
[email protected]
)
상속:
extends
AnnotationFileLoader
파일 보기
프로젝트 열기: pmjones/php-framework-benchmarks
1 사용 예제들
공개 메소드들
메소드
설명
load
(
string
$resource
) :
RouteCollection
Loads from annotations from a directory.
supports
(
mixed
$resource
) :
boolean
Returns true if this class supports the given resource.
메소드 상세
load()
공개
메소드
Loads from annotations from a directory.
public
load
(
string
$resource
) :
RouteCollection
$resource
string
A directory prefixed with annotations:
리턴
Symfony\Component\Routing\RouteCollection
A RouteCollection instance
supports()
공개
메소드
Returns true if this class supports the given resource.
public
supports
(
mixed
$resource
) :
boolean
$resource
mixed
A resource
리턴
boolean
true if this class supports the given resource, false otherwise