RouteHelper
class RouteHelper (View source)
The RouteHelper class.
Methods
static string
sanitize(string $pattern)
Sanitize and explode the pattern.
static string
normalise(string $route)
normalise
static array
getVariables(array $matches, array $vars = null)
Get variables from regex matched result.
static array
getEnvironment()
getEnvironment
Details
at line line 25
static string
sanitize(string $pattern)
Sanitize and explode the pattern.
at line line 37
static string
normalise(string $route)
normalise
at line line 50
static array
getVariables(array $matches, array $vars = null)
Get variables from regex matched result.
at line line 85
static array
getEnvironment()
getEnvironment