lithium\data\Collection::offsetUnset()

public method

Unsets an offset.

Parameters

  • integer $offset

    The offset to unset.

Source

	public function offsetUnset($offset) {
		$this->offsetGet($offset);
		prev($this->_data);
		if (key($this->_data) === null) {
			$this->rewind();
		}
		unset($this->_data[$offset]);
	}