src/Guzzle/Stream/PhpStreamRequestFactory.php
protected function createContext(array $params)
    {
        $options = $this->contextOptions;
        $this->context = $this->createResource(function () use ($params, $options) {
            return stream_context_create($options, $params);
        });
    }
protected function createContext(array $params)
    {
        $options = $this->contextOptions;
        $this->context = $this->createResource(function () use ($params, $options) {
            return stream_context_create($options, $params);
        });
    }
protected function createContext ( array $ params ) { $ options = $ this -> contextOptions ; $ this -> context = $ this -> createResource ( function ( ) use ( $ params , $ options ) { return stream_context_create ( $ options , $ params ) ; } ) ; }
Create a stream context

@param array $params Parameter array
Create a stream context