src/MultiStream.php
public function get($index)
    {
        if (!isset($this->_streams[$index])) {
            throw new InvalidArgumentException("Unexisting stream index `{$index}`.");
        }
        return $this->_streams[$index];
    }
public function get($index)
    {
        if (!isset($this->_streams[$index])) {
            throw new InvalidArgumentException("Unexisting stream index `{$index}`.");
        }
        return $this->_streams[$index];
    }
public function get ( $ index ) { if ( ! isset ( $ this -> _streams [ $ index ] ) ) { throw new InvalidArgumentException ( "Unexisting stream index `{$index}`." ) ; } return $ this -> _streams [ $ index ] ; }
Return a contained stream.

@param  integer $index An index.
@return object
Return a contained stream .