protected function removeGeneratedProperties()
    {
        $properties = $this->getGeneratedProperties();

        foreach ($properties as $property) {
            $name = $property->getName();
            unset($this->{$name});
        }
    }
protected function removeGeneratedProperties()
    {
        $properties = $this->getGeneratedProperties();

        foreach ($properties as $property) {
            $name = $property->getName();
            unset($this->{$name});
        }
    }
protected function removeGeneratedProperties ( ) { $ properties = $ this -> getGeneratedProperties ( ) ; foreach ( $ properties as $ property ) { $ name = $ property -> getName ( ) ; unset ( $ this -> { $ name } ) ; } }
Removes all generated public properties.
Removes all generated public properties .