__construct() public method
public void __construct ( $url, $statusCode = 302, $scheme = false, $message = null, $code = 0, Exception $previous = null ) | ||
---|---|---|
$url | array|string |
The parameter to be used to generate a valid URL for redirection. This will be used as first parameter for yii\helpers\Url::to() |
$statusCode | integer |
HTTP status code used for redirection |
$scheme | boolean|string |
The URI scheme to use in the generated URL for redirection. This will be used as second parameter for yii\helpers\Url::to() |
$message | string |
The error message |
$code | integer |
The error code |
$previous | Exception |
The previous exception used for the exception chaining |
Please login to continue.