/** * Magic "__unset" method * * @internal * @param string $key The key to unset * @throws ReadOnlyException External modification is not allowed * @return void */ public function __unset($key) { throw ReadOnlyException::forAttribute($key); }
/** * Remove the item at the given offset * * @internal * @param mixed $offset The offset to unset * @throws ReadOnlyException External modification is not allowed * @return void */ public function offsetUnset($offset) { throw ReadOnlyException::forAttribute($offset); }