/** * Remove value by key * * @param int|string $key * * @return $this */ public function remove($key) { $this->check(); Arrays::clear($this->data, $key); $this->encode(); return $this; }