Redirect
class Redirect implements ResponseInterface (View source)
Methods
static Redirect
getInstance()
Get redirection instance
route(string $name, array $data = [], bool $absolute = false)
Redirect with route definition
void
sendContent()
No description
mixed
__invoke()
__invoke
string
__toString()
__toString
Details
static Redirect
getInstance()
Get redirection instance
Redirect
withInput(array $data = [])
Redirection with the query information
Redirect
withFlash(string $key, mixed $value)
Redirection with define flash information
Redirect
to(string $path, int $status = 302)
Redirect to another URL
Redirect
route(string $name, array $data = [], bool $absolute = false)
Redirect with route definition
Redirect
back(int $status = 302)
Redirect on the previous URL
void
sendContent()
No description
mixed
__invoke()
__invoke
string
__toString()
__toString