| Fully Qualified Name: | Laminas\Router\Http\Segment |
| Implements: | RouteInterface |
Segment route.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Create a new regex route. | Segment |
| assemble() | assemble(): Defined by RouteInterface interface. | Segment |
| factory() | factory(): defined by RouteInterface interface. | Segment |
| getAssembledParams() | getAssembledParams(): defined by RouteInterface interface. | Segment |
| match() | match(): defined by RouteInterface interface. | Segment |
Create a new regex route.
| Parameter Name | Type | Description |
|---|---|---|
| $route | string | |
| $constraints | array | |
| $defaults | array |
Returns:
assemble(): Defined by RouteInterface interface.
| Parameter Name | Type | Description |
|---|---|---|
| $params | array | |
| $options | array |
Returns: mixed
factory(): defined by RouteInterface interface.
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns: \Segment
getAssembledParams(): defined by RouteInterface interface.
Returns: array
match(): defined by RouteInterface interface.
| Parameter Name | Type | Description |
|---|---|---|
| $request | \Request | |
| $pathOffset | string|null | |
| $options | array |
Returns: \RouteMatch|null