System\Router::__construct PHP Method

__construct() public method

Create a new instance of the Router class and import app routes from a folder or a single routes.php file
public __construct ( $method, $uri )
    public function __construct($method, $uri)
    {
        $this->uri = $uri;
        $this->method = strtoupper($method);
    }