PHP Classes

File: src/Adapter/AdapterInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   sapient   src/Adapter/AdapterInterface.php   Download  
File: src/Adapter/AdapterInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: sapient
Add a security layer to server to server requests
Author: By
Last change: Move convenience method definitions outside of AdapterInterface.
Date: 6 years ago
Size: 440 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\Sapient\Adapter;

use
Psr\Http\Message\StreamInterface;


/**
 * Interface AdapterInterface
 * @package ParagonIE\Sapient\Adapter
 */
interface AdapterInterface
{
   
/**
     * Adapter-specific way of converting a string into a StreamInterface
     *
     * @param string $input
     * @return StreamInterface
     */
   
public function stringToStream(string $input): StreamInterface;
}