StreamWrapperRegistrar
in package
implements
StreamWrapperInterface
FinalYes
Table of Contents
Interfaces
Properties
- $context : mixed
Methods
- registerStreamWrapper() : mixed
- stream_close() : bool
- stream_eof() : bool
- stream_open() : bool
- stream_read() : string|false
- stream_seek() : int
- stream_stat() : array<string|int, mixed>
- stream_tell() : int|false
- stream_write() : int|false
- url_stat() : bool|array<string|int, mixed>
Properties
$context
public
mixed
$context
Methods
registerStreamWrapper()
public
static registerStreamWrapper(string $scheme, StreamWrapperFactoryInterface $factory) : mixed
Parameters
- $scheme : string
- $factory : StreamWrapperFactoryInterface
stream_close()
public
stream_close() : bool
Tags
Return values
boolstream_eof()
public
stream_eof() : bool
Tags
Return values
boolstream_open()
public
stream_open(string $path, string $mode, int $options, string|null &$opened_path) : bool
Parameters
- $path : string
- $mode : string
- $options : int
- $opened_path : string|null
Tags
Return values
boolstream_read()
public
stream_read(int $count) : string|false
Parameters
- $count : int
Tags
Return values
string|falsestream_seek()
public
stream_seek(int $offset, int $whence) : int
Parameters
- $offset : int
- $whence : int
Tags
Return values
intstream_stat()
public
stream_stat() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>stream_tell()
public
stream_tell() : int|false
Tags
Return values
int|falsestream_write()
public
stream_write(string $data) : int|false
Parameters
- $data : string
Tags
Return values
int|falseurl_stat()
public
url_stat(string $url, int $flags) : bool|array<string|int, mixed>
Parameters
- $url : string
- $flags : int