Table of Contents
Interfaces
- StreamWrapperInterface
Methods
-
__construct()
: mixed
-
stream_close()
: bool
-
stream_eof()
: bool
-
stream_read()
: string|false
-
stream_seek()
: int
-
stream_stat()
: array<string|int, mixed>
-
stream_tell()
: int|false
-
stream_write()
: int|false
__construct()
public
__construct(StreamInterface $stream) : mixed
Parameters
-
$stream
: StreamInterface
-
stream_close()
public
stream_close() : bool
stream_eof()
public
stream_eof() : bool
stream_read()
public
stream_read(int $count) : string|false
Parameters
-
$count
: int
-
Return values
string|false
stream_seek()
public
stream_seek(int $offset[, int $whence = SEEK_SET ]) : int
Parameters
-
$offset
: int
-
-
$whence
: int
= SEEK_SET
-
stream_stat()
public
stream_stat() : array<string|int, mixed>
Return values
array<string|int, mixed>
stream_tell()
public
stream_tell() : int|false
stream_write()
public
stream_write(string $data) : int|false
Parameters
-
$data
: string
-