src/Synapse/Config/Config.php
public function detach(ReaderInterface $reader)
    {
        if (($key = array_search($reader, $this->readers)) !== false) {
            unset($this->readers[$key]);
        }

        // Clear any cached groups
        $this->groups = [];
    }
public function detach(ReaderInterface $reader)
    {
        if (($key = array_search($reader, $this->readers)) !== false) {
            unset($this->readers[$key]);
        }

        // Clear any cached groups
        $this->groups = [];
    }
public function detach ( ReaderInterface $ reader ) { if ( ( $ key = array_search ( $ reader , $ this -> readers ) ) !== false ) { unset ( $ this -> readers [ $ key ] ) ; } // Clear any cached groups $ this -> groups = [ ] ; }
Detach a config reader

@param  ReaderInterface $reader
Detach a config reader