[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/routing/Loader/ -> AnnotationClassLoader.php (summary)

AnnotationClassLoader loads routing information from a PHP class and its methods. You need to define an implementation for the configureRoute() method. Most of the time, this method should define some PHP callable to be called for the route (a controller in MVC speak).

Author: Fabien Potencier <fabien@symfony.com>
File Size: 278 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions


Functions that are not part of a class:

__construct(Reader $reader)   X-Ref

setRouteAnnotationClass($class)   X-Ref
Sets the annotation class to read route properties from.

param: string $class A fully-qualified class name

load($class, $type = null)   X-Ref
Loads from annotations from a class.

param: string      $class A class name
param: string|null $type  The resource type
return: RouteCollection A RouteCollection instance

addRoute(RouteCollection $collection, $annot, $globals, \ReflectionClass $class, \ReflectionMethod $method)   X-Ref

param: RouteAnnotation $annot   or an object that exposes a similar interface
param: array           $globals

supports($resource, $type = null)   X-Ref

setResolver(LoaderResolverInterface $resolver)   X-Ref

getResolver()   X-Ref

getDefaultRouteName(\ReflectionClass $class, \ReflectionMethod $method)   X-Ref
Gets the default route name for a class method.

return: string

getGlobals(\ReflectionClass $class)   X-Ref
No description

resetGlobals()   X-Ref
No description

createRoute($path, $defaults, $requirements, $options, $host, $schemes, $methods, $condition)   X-Ref
No description

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1