Method |
Description |
|
__construct ( array $config = [] ) : void |
Constructor. |
|
__destruct ( ) : void |
Destructor. Closes input. |
|
__get ( string $name ) : mixed |
Allows request parameters to be accessed as object properties, i.e. $this->request->action
instead of $this->request->params['action']. |
|
__isset ( $name ) |
|
|
args ( integer $key ) : mixed |
Get the value of a command line argument at a given key |
|
env ( string $key = null ) : mixed |
Get environment variables. |
|
input ( ) : string |
Reads a line from input. |
|
locale ( string $locale = null ) : Returns |
Sets or returns the current locale string. For more information, see
"Globalization" in the manual. |
|
shift ( integer $num = 1 ) : self |
Moves params up a level. Sets command to action, action to passed[0], and so on. |
|