Destructor
class Destructor extends Method
Destruktor
Metadaten für die Beschreibung eines Destruktors
Constants
VISIBILITY_PROTECTED |
geschützt |
VISIBILITY_PRIVATE |
private |
VISIBILITY_PUBLIC |
öffentlich |
Properties
protected string | $name | from Part | |
protected string | $description | from Part | |
protected Parameter>) | $parameter | from Method | |
protected string | $code | from Method | |
protected Property> | $exeption | from Method | |
protected Property | $return | from Method | |
protected boolean | $abstract | from Method | |
protected boolean | $final | from Method | |
protected boolean | $static | from Method | |
protected string | $visibility | from Method | |
protected integer | $firstLine | from Method | |
protected integer | $lastLine | from Method | |
protected Comment | $comment | from Method |
Methods
Neues Objekt
Details
in Part at line 75
string|null
getName()
Name des Bestandteils
in Part at line 108
null
getDescription()
Beschreibung
in Method at line 397
string
getToken()
Token
at line 40
__construct()
Neues Objekt
in Method at line 137
string
getCode()
Quelltext der Methode
in Method at line 163
Method
addParameter(Parameter $parameter)
Einen Parameter hinzufügen
Die Parameter werden in der Reihenfolge des Hinzufügens eingebunden.
in Method at line 185
Collection
getParameters()
Alle Parameter
in Method at line 196
Method
addException(ClassStructure $exeption)
Exception hinzufügen
in Method at line 218
ClassStructure>
getExceptions()
Exceptions
in Method at line 227
boolean
isAbstract()
Prüfen ob Abstrakt
in Method at line 248
boolean
isFinal()
Finalflag prüfen
in Method at line 269
boolean
isStatic()
StaticFlag prüfen
in Method at line 294
Method
setFirstLine(integer $line)
Erste Zeile
Zeilennummer der Methode im zugehörigen Quelltext setzen
in Method at line 308
Method
setLastLine(integer $line)
Ltzte Zeile
Zeilennummer der Methode im zugehörigen Quelltext setzen
in Method at line 318
integer
getFirstLine()
Erste Zeilennummer
in Method at line 327
integer
getLastLine()
Letzte Zeilennummer
in Method at line 347
Method
setVisibility(string $visibility)
Setzt die Sichtbarkeit
Erlaubte Werte sind: protected, public und private. Die Werte stehen auch als Konstante zu Verfügung.
\Alvine\Development\Upkeep\Representation\Part\Method::VISIBILITY_PROTECTED, \Alvine\Development\Upkeep\Representation\Part\Method::VISIBILITY_PUBLIC, \Alvine\Development\Upkeep\Representation\Part\Method::VISIBILITY_PRIVATE
in Method at line 361
string
getVisibility()
Sichtbarkeit der Methode
in Method at line 370
boolean
isProtected()
Prüfen ob Sichtbarkeit protected ist
in Method at line 379
boolean
isPublic()
Prüfen ob Sichtbarkeit public ist
in Method at line 388
boolean
isPrivate()
Prüfen ob Sichtbarkeit private ist
in Method at line 429
static Method
getInstanceFromReflection(ReflectionMethod $method)
Objekt aus PHP-Reflection erstellen