Documentation

RouteFactory

Table of Contents

fromConstants()  : Route
Creates route from constatns

Methods

fromConstants()

Creates route from constatns

public static fromConstants(int $version, string $method, string $pattern, string $action[, array<string|int, string> $params = [] ][, bool $secure = false ]) : Route
Parameters
$version : int
$method : string
$pattern : string
$action : string
$params : array<string|int, string> = []
$secure : bool = false
Return values
Route

Search results