CompiledRoute
class CompiledRoute implements Serializable
CompiledRoutes are returned by the RouteCompiler class.
Methods
__construct(string $staticPrefix, string $regex, array $tokens, array $pathVariables, string|null $hostRegex = null, array $hostTokens = array(), array $hostVariables = array(), array $variables = array())
Constructor.
serialize()
{@inheritdoc}
unserialize($serialized)
{@inheritdoc}
string
getStaticPrefix()
Returns the static prefix.
string
getRegex()
Returns the regex.
string|null
getHostRegex()
Returns the host regex.
array
getTokens()
Returns the tokens.
array
getHostTokens()
Returns the host tokens.
array
getVariables()
Returns the variables.
array
getPathVariables()
Returns the path variables.
array
getHostVariables()
Returns the host variables.
Details
at line line 42
__construct(string $staticPrefix, string $regex, array $tokens, array $pathVariables, string|null $hostRegex = null, array $hostTokens = array(), array $hostVariables = array(), array $variables = array())
Constructor.
at line line 57
serialize()
{@inheritdoc}
at line line 74
unserialize($serialized)
{@inheritdoc}
at line line 92
string
getStaticPrefix()
Returns the static prefix.
at line line 102
string
getRegex()
Returns the regex.
at line line 112
string|null
getHostRegex()
Returns the host regex.
at line line 122
array
getTokens()
Returns the tokens.
at line line 132
array
getHostTokens()
Returns the host tokens.
at line line 142
array
getVariables()
Returns the variables.
at line line 152
array
getPathVariables()
Returns the path variables.
at line line 162
array
getHostVariables()
Returns the host variables.