Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ControllerParserPathTrait Class Reference

Ubiquity\cache\parser$ControllerParserPathTrait This class is part of Ubiquity. More...

+ Inheritance diagram for ControllerParserPathTrait:

Static Public Member Functions

static parseMethodPath (\ReflectionFunctionAbstract $method, $path)
 
static cleanpath ($prefix, $path="", &$isRoot=false)
 
static addParamsPath ($path, \ReflectionFunctionAbstract $method, $requirements)
 
static scanParam (&$parameters, &$hasOptional, $matches, $index, $paramMatch, $find, &$path, $requirement)
 

Static Protected Member Functions

static getPathFromMethod (\ReflectionMethod $method)
 
static parseMainPath (string $path, string $controllerClass)
 

Static Protected Attributes

static $mainParams
 

Static Private Member Functions

static checkParams (\ReflectionFunctionAbstract $method, $actualParams)
 
static checkParamsTypesForRequirement (\ReflectionFunctionAbstract $method)
 

Detailed Description

Ubiquity\cache\parser$ControllerParserPathTrait This class is part of Ubiquity.

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.1.1

Definition at line 18 of file ControllerParserPathTrait.php.

Member Function Documentation

◆ addParamsPath()

static addParamsPath (   $path,
\ReflectionFunctionAbstract  $method,
  $requirements 
)
static

Definition at line 112 of file ControllerParserPathTrait.php.

◆ checkParams()

static checkParams ( \ReflectionFunctionAbstract  $method,
  $actualParams 
)
staticprivate

Definition at line 42 of file ControllerParserPathTrait.php.

◆ checkParamsTypesForRequirement()

static checkParamsTypesForRequirement ( \ReflectionFunctionAbstract  $method)
staticprivate

Definition at line 50 of file ControllerParserPathTrait.php.

◆ cleanpath()

static cleanpath (   $prefix,
  $path = "",
$isRoot = false 
)
static

Definition at line 89 of file ControllerParserPathTrait.php.

◆ getPathFromMethod()

static getPathFromMethod ( \ReflectionMethod  $method)
staticprotected

Definition at line 20 of file ControllerParserPathTrait.php.

◆ parseMainPath()

static parseMainPath ( string  $path,
string  $controllerClass 
)
staticprotected

Definition at line 166 of file ControllerParserPathTrait.php.

◆ parseMethodPath()

static parseMethodPath ( \ReflectionFunctionAbstract  $method,
  $path 
)
static

Definition at line 73 of file ControllerParserPathTrait.php.

◆ scanParam()

static scanParam ( $parameters,
$hasOptional,
  $matches,
  $index,
  $paramMatch,
  $find,
$path,
  $requirement 
)
static

Definition at line 146 of file ControllerParserPathTrait.php.

Field Documentation

◆ $mainParams

$mainParams
staticprotected

Definition at line 19 of file ControllerParserPathTrait.php.


The documentation for this class was generated from the following file: