classe Argument (Voir la source)

Méthodes

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 ligne

Détails

void __construct()

Argument Constructor

Valeur de retour

void

mixed getParameter(string $key, mixed $default = null)

Retrieves a parameter

Paramètres

string $key
mixed $default

Valeur de retour

mixed

Collection getParameters()

Get the collection of parameter

Valeur de retour

Collection

string|null getTarget()

Retrieves the target value

Valeur de retour

string|null

string|null getCommand()

Retrieves the command value

Valeur de retour

string|null

string|null getAction()

Retrieves the command action

Valeur de retour

string|null

array getTrash()

Get the trash content

Valeur de retour

array

bool hasTrash()

Check if bad parameter have been input

Valeur de retour

bool

bool readline(string $message)

Read ligne

Paramètres

string $message

Valeur de retour

bool