src/ServiceRuntime/Internal/FileInputChannel.php
public function getInputStream($name)
    {
        $this->_inputStream = @fopen($name, 'r');
        if ($this->_inputStream) {
            return $this->_inputStream;
        } else {
            throw new ChannelNotAvailableException();
        }
    }
public function getInputStream($name)
    {
        $this->_inputStream = @fopen($name, 'r');
        if ($this->_inputStream) {
            return $this->_inputStream;
        } else {
            throw new ChannelNotAvailableException();
        }
    }
public function getInputStream ( $ name ) { $ this -> _inputStream = @ fopen ( $ name , 'r' ) ; if ( $ this -> _inputStream ) { return $ this -> _inputStream ; } else { throw new ChannelNotAvailableException ( ) ; } }
Gets the input stream.

@param string $name The input stream path

@return resource

@throws ChannelNotAvailableException
Gets the input stream .