flight\net\Router::current PHP Method

current() public method

Gets the current route.
public current ( ) : Route
return Route
    public function current()
    {
        return isset($this->routes[$this->index]) ? $this->routes[$this->index] : false;
    }