PHP Trait gossi\codegen\model\parts\FinalPart

Keeps track if the model has a final modifier or not
Author: Thomas Gossmann
Afficher le fichier Open project: gossi/php-code-generator

Méthodes publiques

Méthode Description
isFinal ( ) : boolean Returns whether this is final
setFinal ( boolean $bool ) Sets this final

Method Details

isFinal() public méthode

Returns whether this is final
public isFinal ( ) : boolean
Résultat boolean `true` for final and `false` if not

setFinal() public méthode

Sets this final
public setFinal ( boolean $bool )
$bool boolean `true` for final and `false` if not