PHP Trait gossi\codegen\model\parts\AbstractPart

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

Public Methods

Method Description
isAbstract ( ) : boolean Returns whether this is abstract
setAbstract ( boolean $bool ) Sets this to abstract

Method Details

isAbstract() public method

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

setAbstract() public method

Sets this to abstract
public setAbstract ( boolean $bool )
$bool boolean `true` for abstract and `false` if not