public function setAbstract($abstract)
    {
        if ($abstract === true) {
            $this->addModifier(Modifiers::MODIFIER_ABSTRACT);
        } else {
            $this->removeModifier(Modifiers::MODIFIER_ABSTRACT);
        }
    }
public function setAbstract($abstract)
    {
        if ($abstract === true) {
            $this->addModifier(Modifiers::MODIFIER_ABSTRACT);
        } else {
            $this->removeModifier(Modifiers::MODIFIER_ABSTRACT);
        }
    }
public function setAbstract ( $ abstract ) { if ( $ abstract === true ) { $ this -> addModifier ( Modifiers :: MODIFIER_ABSTRACT ) ; } else { $ this -> removeModifier ( Modifiers :: MODIFIER_ABSTRACT ) ; } }
Set the entity abstract.

@param boolean $abstract Flag if the entity is abstract or not.
Set the entity abstract .