ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
StreamFactoryInterface.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Psr\Http\Message
;
4
5
interface
StreamFactoryInterface
6
{
16
public
function
createStream
(
string
$content =
''
):
StreamInterface
;
17
33
public
function
createStreamFromFile
(
string
$filename
,
string
$mode =
'r'
):
StreamInterface
;
34
44
public
function
createStreamFromResource
($resource):
StreamInterface
;
45
}
Psr\Http\Message
Definition:
RequestFactoryInterface.php:3
Psr\Http\Message\StreamFactoryInterface\createStream
createStream(string $content='')
Create a new stream from a string.
$filename
$filename
Definition:
buildRTE.php:89
Psr\Http\Message\StreamFactoryInterface
Definition:
StreamFactoryInterface.php:5
Psr\Http\Message\StreamFactoryInterface\createStreamFromResource
createStreamFromResource($resource)
Create a new stream from an existing resource.
Psr\Http\Message\StreamFactoryInterface\createStreamFromFile
createStreamFromFile(string $filename, string $mode='r')
Create a stream from an existing file.
php
Psr\Http\Message\StreamInterface
Describes a data stream.
Definition:
StreamInterface.php:12
libs
composer
vendor
psr
http-factory
src
StreamFactoryInterface.php
Generated on Thu Jan 16 2025 19:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)