classes/Map.php
public function delete($key, $compact=true){
        $this->set($key, null);
        if ($compact) $this->compact();
    }
public function delete($key, $compact=true){
        $this->set($key, null);
        if ($compact) $this->compact();
    }
public function delete ( $ key , $ compact = true ) { $ this -> set ( $ key , null ) ; if ( $ compact ) $ this -> compact ( ) ; }
Delete a value and the key path from map.
@param  string $key The key path in dot notation
@param  boolean $compact (optional) Compact map removing empty paths.
Delete a value and the key path from map .