PHP Trait gossi\codegen\model\parts\FinalPart

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

Public Methods

Method Description
isFinal ( ) : boolean Returns whether this is final
setFinal ( boolean $bool ) Sets this final

Method Details

isFinal() public method

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

setFinal() public method

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