메소드 |
설명 |
|
__construct ( string $file ) |
Constructor of Reflection |
|
__set_state ( $array ) : Reflection |
Set state required for working with var_export (used inside PHP File cache) |
|
getAccept ( ) : array | null |
Get accepted type |
|
getAcl ( ) : array | null |
Get Acl privileges |
|
getCache ( ) : integer |
Get Cache TTL |
|
getFile ( ) : string |
Get path to file |
|
getMethod ( ) : array | null |
Get HTTP Method |
|
getParams ( ) : array |
Get all params |
|
getPrivilege ( ) : string |
Get Privilege fo ACL |
|
getRoute ( ) : array | null |
Get Route |
|
params ( array $requestParams ) : array |
Process request params |
|
process ( ) : void |
Process to get reflection from file |
|
setAccept ( string $accept ) : void |
Set accepted types |
|
setAcl ( string $acl ) : void |
Set Acl privileges |
|
setCache ( string $ttl ) : void |
Set Cache TTL |
|
setMethod ( string $method ) : void |
Set HTTP Method |
|
setParam ( string $param ) : void |
Set param types |
|
setPrivilege ( string $privilege ) : void |
Set Privilege fo ACL allow only one privilege |
|
setRoute ( string $route ) : void |
Set Route |
|