Ejemplo n.º 1
0
 /**
  * Set a domain property value
  *
  * @param string $property Property name
  * @param mixed $value Property value
  * @return ObjectInterface Self reference
  */
 public function setDomain($property, $value)
 {
     $this->setDomainProperties($this->domainProperties->setProperty($property, $value));
     return $this;
 }
Ejemplo n.º 2
0
 /**
  * Set a processing instruction
  *
  * @param string $procInst Processing instruction name
  * @param mixed $value Processing instruction
  * @return ObjectInterface Self reference
  */
 public function setProcessingInstruction($procInst, $value)
 {
     $this->setProcessingInstructions($this->processingInstructions->setProperty($procInst, $value));
     return $this;
 }