Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Symfony
Component
Routing
Loader
AnnotationClassLoader
supports
Symfony\Component\Routing\Loader\AnnotationClassLoader::supports PHP Méthode
AnnotationClassLoader Class Documentation
Afficher le fichier
Open project: pmjones/php-framework-benchmarks
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
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