CompiledRoute

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.