setSourceDirty(false); return $property; } public function setConst($const) { $this->_isConst = $const; return $this; } public function isConst() { return ($this->_isConst) ? true : false; } public function setDefaultValue($defaultValue) { $this->_defaultValue = $defaultValue; return $this; } public function getDefaultValue() { return $this->_defaultValue; } public function generate() { $string = ' ' . $this->_visibility . ' $' . $this->_name . ' = ' . (isset($this->_defaultValue) ? '\'' . $this->_defaultValue . '\'' : 'null') . ';'; return $string; } }