Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • PhpStreamRequestFactory
  • Stream

Interfaces

  • StreamInterface
  • StreamRequestFactoryInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo
 1: <?php
 2: 
 3: namespace Guzzle\Stream;
 4: 
 5: use Guzzle\Http\Message\RequestInterface;
 6: 
 7: /**
 8:  * Interface used for creating streams from requests
 9:  */
10: interface StreamRequestFactoryInterface
11: {
12:     /**
13:      * Create a stream based on a request object
14:      *
15:      * @param RequestInterface $request Base the stream on a request
16:      * @param array|resource   $context A stream_context_options resource or array of parameters used to create a
17:      *                                  stream context.
18:      * @param array            $params  Optional array of parameters specific to the factory
19:      *
20:      * @return StreamInterface Returns a stream object
21:      * @throws \Guzzle\Common\Exception\RuntimeException if the stream cannot be opened or an error occurs
22:      */
23:     public function fromRequest(RequestInterface $request, $context = array(), array $params = array());
24: }
25: 
php-coveralls API documentation generated by ApiGen 2.8.0