OptionList
class OptionList extends StringType
Liste mit Argumenten
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
Details
in Option at line 86
__construct(string $name, string $alias = null)
Neues Objekt
in Option at line 124
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 146
string
getName()
Name
in Option at line 155
string
getAlias()
Alias
in Option at line 176
boolean
isRequired()
Pflichtangabe prüfen
in StringType at line 43
mixed
validate($value)
Überprüfe Wert
in Option at line 207
string
getDescription()
Beschreibung
in Option at line 216
string
__toString()
Rückgabe der Definition als Hilfstext