classe ArgOption (Voir la source)

Méthodes

void
__construct()

ArgOption Constructor

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

Retrieves a parameter

Collection|mixed|null
options(string $key = null, string $default = null)

Retrieves the options of the command

Détails

void __construct()

ArgOption Constructor

Valeur de retour

void

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

Retrieves a parameter

Paramètres

string $key
mixed $default

Valeur de retour

mixed|Collection|null

Collection|mixed|null options(string $key = null, string $default = null)

Retrieves the options of the command

Paramètres

string $key
string $default

Valeur de retour

Collection|mixed|null