/** * Signal, that value is updated by external code. * * Should be used together with getRef() */ public function touch() { if ($this->_state == self::STORED) { $this->_state = self::MODIFIED; $this->_container->processUpdate(); } }
/** * ArrayAccess interface method * Unset character at $offset position * * @param integer $offset */ public function offsetUnset($offset) { unset($this->_value[$offset]); if ($this->_trace) { $this->_trace = false; $this->_container->processUpdate(); } }