[ Index ]

PHP Cross Reference of phpBB-3.2.11-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 getRouteDefaults() 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: 260 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 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
No description

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.

param: \ReflectionClass  $class
param: \ReflectionMethod $method
return: string

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

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

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1