src/MultiStream.php
public function detach()
    {
        $this->_offset = $this->_current = 0;
        $this->_seekable = true;

        foreach ($this->_streams as $stream) {
            $stream->detach();
        }

        $this->_streams = [];
    }
public function detach()
    {
        $this->_offset = $this->_current = 0;
        $this->_seekable = true;

        foreach ($this->_streams as $stream) {
            $stream->detach();
        }

        $this->_streams = [];
    }
public function detach ( ) { $ this -> _offset = $ this -> _current = 0 ; $ this -> _seekable = true ; foreach ( $ this -> _streams as $ stream ) { $ stream -> detach ( ) ; } $ this -> _streams = [ ] ; }
Detaches each attached stream.

Returns null as it's not clear which underlying stream resource to return.
Detaches each attached stream .