Skip to content

UploadedFileFactory: fromNew Example

Terry L edited this page Jul 29, 2020 · 3 revisions
Clone this wiki locally

Shieldon\Psr17\StreamFactory

::fromNew

Create a new stream.

  • return StreamInterface

Example:

$stream = StreamFactory::fromNew();