Argument
class Argument (View source)
Methods
void
__construct()
Argument Constructor
mixed
getParameter(string $key, mixed $default = null)
Retrieves a parameter
getParameters()
Get the collection of parameter
string|null
getTarget()
Retrieves the target value
string|null
getCommand()
Retrieves the command value
string|null
getAction()
Retrieves the command action
array
getTrash()
Get the trash content
bool
hasTrash()
Check if bad parameter have been input
bool
readline(string $message)
Read line
Details
void
__construct()
Argument Constructor
mixed
getParameter(string $key, mixed $default = null)
Retrieves a parameter
Collection
getParameters()
Get the collection of parameter
string|null
getTarget()
Retrieves the target value
string|null
getCommand()
Retrieves the command value
string|null
getAction()
Retrieves the command action
array
getTrash()
Get the trash content
bool
hasTrash()
Check if bad parameter have been input
bool
readline(string $message)
Read line