src/FileArray.php
public function delete($key)
    {
        key_exists_or_fail($key, $this->data);
        unset($this->data[$key]);
        $this->data = array_values($this->data);

        return $this;
    }
public function delete($key)
    {
        key_exists_or_fail($key, $this->data);
        unset($this->data[$key]);
        $this->data = array_values($this->data);

        return $this;
    }
public function delete ( $ key ) { key_exists_or_fail ( $ key , $ this -> data ) ; unset ( $ this -> data [ $ key ] ) ; $ this -> data = array_values ( $ this -> data ) ; return $ this ; }
Deletes a value from its key number.

Note that the keys will be re-ordered.
@param int $key Key number
@return $this
@throws KeyNotExistsException
@uses $data
Deletes a value from its key number .