|
static | parseRouteArray (&$result, $controllerClass, $routeArray, \ReflectionMethod $method, $methodName, $prefix="", $httpMethods=NULL) |
|
static | addParamsPath ($path, \ReflectionMethod $method, $requirements) |
|
|
static | getPathFromMethod (\ReflectionMethod $method) |
|
static | cleanpath ($prefix, $path="") |
|
static | scanParam (&$parameters, &$hasOptional, $matches, $index, $paramMatch, $find, &$path, $requirement) |
|
static | createRouteMethod (&$result, $controllerClass, $path, $httpMethods, $method, $parameters, $name, $cache, $duration) |
|
|
static | $excludeds =[ "__construct","isValid","initialize","finalize","onInvalidControl","loadView","forward","redirectToRoute" ] |
|
Definition at line 10 of file ControllerParser.php.
◆ addParamsPath()
static addParamsPath |
( |
|
$path, |
|
|
\ReflectionMethod |
$method, |
|
|
|
$requirements |
|
) |
| |
|
static |
◆ asArray()
◆ cleanpath()
static cleanpath |
( |
|
$prefix, |
|
|
|
$path = "" |
|
) |
| |
|
staticprivate |
◆ createRouteMethod()
static createRouteMethod |
( |
& |
$result, |
|
|
|
$controllerClass, |
|
|
|
$path, |
|
|
|
$httpMethods, |
|
|
|
$method, |
|
|
|
$parameters, |
|
|
|
$name, |
|
|
|
$cache, |
|
|
|
$duration |
|
) |
| |
|
staticprivate |
◆ generateRouteAnnotationFromMethod()
generateRouteAnnotationFromMethod |
( |
\ReflectionMethod |
$method | ) |
|
|
private |
◆ getPathFromMethod()
static getPathFromMethod |
( |
\ReflectionMethod |
$method | ) |
|
|
staticprivate |
◆ isRest()
◆ parse()
parse |
( |
|
$controllerClass | ) |
|
◆ parseRouteArray()
static parseRouteArray |
( |
& |
$result, |
|
|
|
$controllerClass, |
|
|
|
$routeArray, |
|
|
\ReflectionMethod |
$method, |
|
|
|
$methodName, |
|
|
|
$prefix = "" , |
|
|
|
$httpMethods = NULL |
|
) |
| |
|
static |
◆ scanParam()
static scanParam |
( |
& |
$parameters, |
|
|
& |
$hasOptional, |
|
|
|
$matches, |
|
|
|
$index, |
|
|
|
$paramMatch, |
|
|
|
$find, |
|
|
& |
$path, |
|
|
|
$requirement |
|
) |
| |
|
staticprivate |
◆ $controllerClass
◆ $excludeds
$excludeds =[ "__construct","isValid","initialize","finalize","onInvalidControl","loadView","forward","redirectToRoute" ] |
|
staticprivate |
◆ $mainRouteClass
◆ $rest
◆ $routesMethods
The documentation for this class was generated from the following file: