Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • 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
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • PhpStreamRequestFactory
  • Stream

Interfaces

  • StreamInterface
  • StreamRequestFactoryInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface StreamRequestFactoryInterface

Interface used for creating streams from requests

Direct known implementers

Guzzle\Stream\PhpStreamRequestFactory
Namespace: Guzzle\Stream
Located at src/Guzzle/Stream/StreamRequestFactoryInterface.php
Methods summary
public Guzzle\Stream\StreamInterface
# fromRequest( Guzzle\Http\Message\RequestInterface $request, array|resource $context = array(), array $params = array() )

Create a stream based on a request object

Create a stream based on a request object

Parameters

$request
Base the stream on a request
$context

A stream_context_options resource or array of parameters used to create a stream context.

$params
Optional array of parameters specific to the factory

Returns

Guzzle\Stream\StreamInterface
Returns a stream object

Throws

Guzzle\Common\Exception\RuntimeException
if the stream cannot be opened or an error occurs
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen