PHP Classes

File: application/modules/extensions/aws/Aws/Handler/GuzzleV5/GuzzleStream.php

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   application/modules/extensions/aws/Aws/Handler/GuzzleV5/GuzzleStream.php   Download  
File: application/modules/extensions/aws/Aws/Handler/GuzzleV5/GuzzleStream.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 541 bytes
 

Contents

Class file image Download
<?php
namespace Aws\Handler\GuzzleV5;

use
GuzzleHttp\Stream\StreamDecoratorTrait;
use
GuzzleHttp\Stream\StreamInterface as GuzzleStreamInterface;
use
Psr\Http\Message\StreamInterface as Psr7StreamInterface;

/**
 * Adapts a PSR-7 Stream to a Guzzle 5 Stream.
 *
 * @codeCoverageIgnore
 */
class GuzzleStream implements GuzzleStreamInterface
{
    use
StreamDecoratorTrait;

   
/** @var Psr7StreamInterface */
   
private $stream;

    public function
__construct(Psr7StreamInterface $stream)
    {
       
$this->stream = $stream;
    }
}