PHP Class Visithor\Model\Url

Afficher le fichier Open project: visithor/visithor Class Usage Examples

Protected Properties

Свойство Type Description
$acceptableHTTPCodes string[] Set of Acceptable HTTP Codes
$options array Options
$path string Url path

Méthodes publiques

Méthode Description
__construct ( string $path, array $acceptableHTTPCodes, array $options ) Construct
getAcceptableHttpCodes ( ) : string[] Get Acceptable HttpCodes
getOption ( string $option, mixed $default = null ) : mixed Get Options
getOptions ( ) : array Get Options
getPath ( ) : string Get Path

Method Details

__construct() public méthode

Construct
public __construct ( string $path, array $acceptableHTTPCodes, array $options )
$path string Path
$acceptableHTTPCodes array Acceptable Http codes
$options array Options

getAcceptableHttpCodes() public méthode

Get Acceptable HttpCodes
public getAcceptableHttpCodes ( ) : string[]
Résultat string[] HttpCodes

getOption() public méthode

Get Options
public getOption ( string $option, mixed $default = null ) : mixed
$option string Option name
$default mixed Default value
Résultat mixed Option value

getOptions() public méthode

Get Options
public getOptions ( ) : array
Résultat array Options

getPath() public méthode

Get Path
public getPath ( ) : string
Résultat string Path

Property Details

$acceptableHTTPCodes protected_oe property

Set of Acceptable HTTP Codes
protected string[] $acceptableHTTPCodes
Résultat string[]

$options protected_oe property

Options
protected array $options
Résultat array

$path protected_oe property

Url path
protected string $path
Résultat string