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
public
__construct( string $location, integer $code = Status::FOUND, ICanBoogie\HTTP\Exception $previous = null )
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Properties summary
Properties inherited from Exception
$code,
$file,
$line,
$message