src/main/php/response/Status.php
public function redirect($uri, int $statusCode = 302): self
    {
        $this->headers->location($uri);
        return $this->fixateCode($statusCode);
    }
public function redirect($uri, int $statusCode = 302): self
    {
        $this->headers->location($uri);
        return $this->fixateCode($statusCode);
    }
public function redirect ( $ uri , int $ statusCode = 302 ) : self { $ this -> headers -> location ( $ uri ) ; return $ this -> fixateCode ( $ statusCode ) ; }
sets status to 30x

@param   string|\stubbles\peer\http\HttpUri  $uri         http uri to redirect to
@param   int                                 $statusCode  HTTP status code to redirect with (301, 302, ...)
@return  \stubbles\webapp\response\Status
sets status to 30x