Class ForceRedirect
Exception thrown to force the redirect of the response.
- Exception implements Throwable
-
ICanBoogie\HTTP\ForceRedirect
implements
ICanBoogie\HTTP\Exception
uses
ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
protected
string
|
|
public
|
#
__construct( string $location, integer $code = Status::FOUND,
|
protected
string
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Properties summary
Properties inherited from Exception
$code,
$file,
$line,
$message
Magic properties
public read-only
string
|
$location
The location of the redirect. |