ArgumentList
class ArgumentList extends Option
ArgumentList
Properties
protected string | $name | from Option | |
protected string | $alias | from Option | |
protected boolean | $required | from Option | |
protected string | $description | from Option | |
protected integer | $maxLimit | from Option | |
protected integer | $counter | from Option |
Methods
mixed
validate($value)
Argumente prüfen
Details
in Option at line 83
__construct(string $name, string $alias = null)
Neues Objekt
Der Alias darf einen Buchstaben besitzen
in Option at line 119
Option
execute(mixed $value)
Ausführen der Option
Diese Methode prüft ob das Objekt eine Methode onMatch besitzt und ruft diese in dem Fall auf.
Wird keine Methode onMatch definiert, so erfolgt keine weitere Operation.
in Option at line 141
string
getName()
Name
in Option at line 150
string
getAlias()
Kurzform des Befehls (ein Buchstabe)
in Option at line 171
boolean
isRequired()
Pflichtangabe prüfen
at line 43
mixed
validate($value)
Argumente prüfen
in Option at line 202
string
getDescription()
Beschreibung
in Option at line 211
string
__toString()
Rückgabe der Definition als Hilfstext