lithium\template\view\adapter\File::offsetUnset()

public method

Unsets the given offset.

Part of ArrayAccess.

unset($file['bar']);
$file->offsetUnset('bar');

Parameters

  • string $offset

    Key / variable name to check.

Returns

void

Source

	#[ReturnTypeWillChange]
	public function offsetUnset($offset) {
		unset($this->_data[$offset]);
	}