function removePath($path)
    {
        $this->write(tap($this->read(), function (&$config) use ($path) {
            $config['paths'] = collect($config['paths'])->reject(function ($value) use ($path) {
                return $value === $path;
            })->values()->all();
        }));
    }
function removePath($path)
    {
        $this->write(tap($this->read(), function (&$config) use ($path) {
            $config['paths'] = collect($config['paths'])->reject(function ($value) use ($path) {
                return $value === $path;
            })->values()->all();
        }));
    }
function removePath ( $ path ) { $ this -> write ( tap ( $ this -> read ( ) , function ( & $ config ) use ( $ path ) { $ config [ 'paths' ] = collect ( $ config [ 'paths' ] ) -> reject ( function ( $ value ) use ( $ path ) { return $ value === $ path ; } ) -> values ( ) -> all ( ) ; } ) ) ; }
Remove the given path from the configuration.

@param  string  $path
@return void
Remove the given path from the configuration .