|  Download Adapter InterfaceAll an Adapter needs is the ability to convert a string (containin the data, not a filename)
into an implementation of PSR-7's StreamInterfacespecific to your framework. Some adapters may also choose to implement the ConvenienceInterface,
which provides methods for converting strings or arrays into framework-specficRequestorResponseobjects. stringToStream()
Function prototype: function stringToStream(
    string $input
): StreamInterface;
 This must return a Streamobject that implementsStreamInterfacewhose contents are populated
by$input. Implementations may alter the contents of$inputto suit their needs. |