public function setValue($val) { $this->value = $val; return $this; }
/** * @param string without $ * @param mixed * @return Property */ public function addProperty($name, $value = NULL) { $property = new Property($name); return $this->properties[$name] = $property->setValue($value); }