PHP 클래스 Visithor\Model\Url

파일 보기 프로젝트 열기: visithor/visithor 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$acceptableHTTPCodes string[] Set of Acceptable HTTP Codes
$options array Options
$path string Url path

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

getAcceptableHttpCodes() 공개 메소드

Get Acceptable HttpCodes
public getAcceptableHttpCodes ( ) : string[]
리턴 string[] HttpCodes

getOption() 공개 메소드

Get Options
public getOption ( string $option, mixed $default = null ) : mixed
$option string Option name
$default mixed Default value
리턴 mixed Option value

getOptions() 공개 메소드

Get Options
public getOptions ( ) : array
리턴 array Options

getPath() 공개 메소드

Get Path
public getPath ( ) : string
리턴 string Path

프로퍼티 상세

$acceptableHTTPCodes 보호되어 있는 프로퍼티

Set of Acceptable HTTP Codes
protected string[] $acceptableHTTPCodes
리턴 string[]

$options 보호되어 있는 프로퍼티

Options
protected array $options
리턴 array

$path 보호되어 있는 프로퍼티

Url path
protected string $path
리턴 string