Ejemplo n.º 1
0
 /**
  * @param string $name Name of property to set
  * @param mixed $value Value of the property
  * @param bool $protected Whether to keep this property when minimized
  * @return $this
  */
 public function setProperty($name, $value, $protected = false)
 {
     parent::setProperty($name, $value);
     if ($protected) {
         $this->protected[] = $name;
     }
     return $this;
 }