CompiledRoutes are returned by the RouteCompiler class.
| Methods | ||
|---|---|---|
public
|
__construct(
string $staticPrefix,
string $regex,
array $tokens,
array $pathVariables,
string|null $hostRegex = null,
array $hostTokens = [],
array $hostVariables = [],
array $variables = [],
)
|
# |
public
|
__serialize(): array
|
# |
public
|
__unserialize(array $data): void
|
# |
public
|
getStaticPrefix(): string
|
# |
public
|
getRegex(): string
|
# |
public
|
getHostRegex(): ?string
|
# |
public
|
getTokens(): array
|
# |
public
|
getHostTokens(): array
|
# |
public
|
getVariables(): array
|
# |
public
|
getPathVariables(): array
|
# |
public
|
getHostVariables(): array
|
# |