Router
abstract class Router (View source)
Properties
static protected array | $httpRoutes | Store normal routes | |
static protected array | $httpParamRoutes | Store param routes | |
static protected string | $prefixNS | Define namespace prefix to Controllers | |
static protected string | $prefixPath | Define path prefix to routes |
Methods
static bool
find(string $route, string $path, array $matches)
Get params from routes using regex
Details
at line 52
static protected bool
find(string $route, string $path, array $matches)
Get params from routes using regex