PHP Class Bluz\Application\Exception\RedirectException

Author: Anton Shevchuk
Inheritance: extends ApplicationException
Afficher le fichier Open project: bluzphp/framework Class Usage Examples

Protected Properties

Свойство Type Description
$code integer - 301 Moved Permanently - 302 Moved Temporarily - 307 Temporary Redirect
$message exception message consist Location data
$url string

Méthodes publiques

Méthode Description
getUrl ( ) : string getUrl
setUrl ( string $url ) Set Url to Redirect

Method Details

getUrl() public méthode

getUrl
public getUrl ( ) : string
Résultat string

setUrl() public méthode

Set Url to Redirect
public setUrl ( string $url )
$url string

Property Details

$code protected_oe property

- 301 Moved Permanently - 302 Moved Temporarily - 307 Temporary Redirect
protected int $code
Résultat integer

$message protected_oe property

exception message consist Location data
protected $message

$url protected_oe property

protected string $url
Résultat string