Scalr\Api\Rest\Application::redirectTo PHP Method

redirectTo() public method

Redirects to the specified named route
public redirectTo ( string $route, array $params = [], number $status = 302 )
$route string The name of the Route
$params array optional The list of the parameters
$status number optional The HTTP response status code.
    public function redirectTo($route, $params = array(), $status = 302)
    {
        $this->redirect($this->getRouteUrl($route, $params), $status);
    }