Symfony\Component\Routing\Loader\AnnotationClassLoader::supports PHP Méthode

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