Beispiel #1
0
 /**
  * Append value to a stream
  *
  * @param mixed $val
  */
 public function append($val)
 {
     $ref =& $this->value->getRef();
     $ref .= (string) $val;
     $this->value->touch();
 }
Beispiel #2
0
 /**
  * Signal, that value is updated by external code.
  *
  * Should be used together with getRef()
  */
 public function touch()
 {
     $this->_memContainer->touch();
 }