setValue() public method

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