com\setasign\SetaFramework\Router\DynamicRoute
ParamRoute
File: /SetaFramework/src/Router/DynamicRoute/ParamRoute.php
Class hierarchy
Summary
Constants
PARAM_GET
PARAM_GLOBAL
PARAM_POST
Properties
$after
public DynamicRoute::$after
$before
public DynamicRoute::$before
$expected
private ParamRoute::$expected
$key
private ParamRoute::$key
$name
public DynamicRoute::$name
$priority
public DynamicRoute::$priority
$strict
private ParamRoute::$strict
$type
private ParamRoute::$type
Methods
__construct()
public ParamRoute::__construct (
int $type,
int|string $key,
mixed $expected = null,
bool $strict = false,
?string $name = null,
string $before = '',
string $after = '',
int $priority = \com\setasign\SetaFramework\Router\AbstractRouter::DEFAULT_PRIORITY
)int|string $key,
mixed $expected = null,
bool $strict = false,
?string $name = null,
string $before = '',
string $after = '',
int $priority = \com\setasign\SetaFramework\Router\AbstractRouter::DEFAULT_PRIORITY
Parameters
- $type : int
- $key : int|string
- $expected : mixed
- $strict : bool
- $name : ?string
- $before : string
- $after : string
- $priority : int
build()
public ParamRoute::build (
string $requestPathPrefix
): \com\setasign\SetaFramework\Router\Route\ParamParameters
- $requestPathPrefix : string
