Property
class Property extends Part
Eigenschaften einer Klasse
Constants
VISIBILITY_PROTECTED |
geschützt |
VISIBILITY_PRIVATE |
private |
VISIBILITY_PUBLIC |
öffentlich |
Properties
protected string | $name | from Part | |
protected string | $description | ||
protected mixed | $default | ||
protected boolean | $defaultIsNull | ||
protected boolean | $defaultIsConstant | ||
protected string | $type | ||
protected mixed | $value | ||
protected boolean | $static | ||
protected string | $visibility | ||
protected Comment | $comment |
Methods
string
getToken()
Token
__construct(string $name)
Neues Objekt
boolean
isStatic()
Prüft ob Statisch
setVisibility(string $visibility)
Sichtbarkeit
string
getVisibility()
Sichtbarkeit
string
getType()
Typ
mixed
getValue()
Wert
mixed
getDefault()
Defaultwert
setDefault(mixed $default, boolean $isConstant = false)
Setzt den Defaultwert
clearDefault()
Entfernt den Defaultwert
boolean
isDefaultNull()
Ist Eigenschaft null?
boolean
isDefaultConstant()
Konstant
static Property
getInstanceFromKey(string $key, string $prefix = null)
Objekt erstellen
static Property
getComment()
Kommentar der Methode
Details
in Part at line 75
string|null
getName()
Name des Bestandteils
in Part at line 108
null
getDescription()
Beschreibung
at line 143
string
getToken()
Token
at line 88
__construct(string $name)
Neues Objekt
at line 103
boolean
isStatic()
Prüft ob Statisch
at line 114
Property
setStatic(boolean $mode)
Eigenschaft ist statisch
at line 124
setVisibility(string $visibility)
Sichtbarkeit
at line 134
string
getVisibility()
Sichtbarkeit
at line 154
Property
setType(string $type)
Typ
at line 164
string
getType()
Typ
at line 175
Property
setValue(mixed $value)
Wert setzen
at line 186
mixed
getValue()
Wert
at line 195
mixed
getDefault()
Defaultwert
at line 207
Property
setDefault(mixed $default, boolean $isConstant = false)
Setzt den Defaultwert
at line 219
Property
clearDefault()
Entfernt den Defaultwert
at line 231
boolean
isDefaultNull()
Ist Eigenschaft null?
at line 240
boolean
isDefaultConstant()
Konstant
at line 254
static Property
getInstanceFromKey(string $key, string $prefix = null)
Objekt erstellen
Erstellt aus einem Schlüssel eine Eigenschaft
at line 268
static Property
getInstanceFromReflection(ReflectionProperty $property)
Erstellt neues Objekt aus PHP-Objekt
at line 303
Property
getComment()
Kommentar der Methode