public function clearProperties() {
		foreach ($this->properties as $property) {
			$property->setParent(null);
		}
		$this->properties->clear();

		return $this;
	}
public function clearProperties() {
		foreach ($this->properties as $property) {
			$property->setParent(null);
		}
		$this->properties->clear();

		return $this;
	}
public function clearProperties ( ) { foreach ( $ this -> properties as $ property ) { $ property -> setParent ( null ) ; } $ this -> properties -> clear ( ) ; return $ this ; }
Clears all properties

@return $this
Clears all properties