Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Symfony
Component
Routing
Loader
AnnotationClassLoader
supports
Symfony\Component\Routing\Loader\AnnotationClassLoader::supports PHP Method
AnnotationClassLoader Class Documentation
Show file
Open project: pmjones/php-framework-benchmarks
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
public function supports($resource) { return is_string($resource) && class_exists($resource); }
Same methods
AnnotationClassLoader::
supports
(
mixed
$resource
,
string
$type
= null ) :
boolean
AnnotationClassLoader
__construct
addRoute
configureRoute
getDefaultRouteName
getResolver
load
setResolver
setRouteAnnotationClass
supports