public function close()
    {
        $this->pos = $this->current = 0;

        foreach ($this->streams as $stream) {
            $stream->close();
        }

        $this->streams = [];
    }
public function close()
    {
        $this->pos = $this->current = 0;

        foreach ($this->streams as $stream) {
            $stream->close();
        }

        $this->streams = [];
    }
public function close ( ) { $ this -> pos = $ this -> current = 0 ; foreach ( $ this -> streams as $ stream ) { $ stream -> close ( ) ; } $ this -> streams = [ ] ; }
Closes each attached stream.

{@inheritdoc}
Closes each attached stream .