...
|
...
|
@@ -5,10 +5,10 @@ namespace elanpl\L3;
|
5
|
5
|
class Router{
|
6
|
6
|
|
7
|
7
|
protected $routes; // The defined routes collection
|
8
|
|
- protected $parsedParameters; // Parameters parsed from Request Path
|
9
|
|
- protected $depth; // Number of nested nodes in Request Path
|
10
|
8
|
protected $routeNameIndex; // An array with elements that reference to the routes ordered by a route names
|
11
|
|
- public $RouteInfo; // The RouteInfo objcet if the route was matched
|
|
9
|
+ public $parsedParameters; // Parameters parsed from Request Path
|
|
10
|
+ public $depth; // Number of nested nodes in Request Path
|
|
11
|
+ public $RouteInfo; // The RouteInfo object if the route was matched
|
12
|
12
|
|
13
|
13
|
public function __construct($routing)
|
14
|
14
|
{
|