StreamedReadingTrait
A helper for adapters that only handle strings to provide read streams.
Table of Contents
- read() : array<string|int, mixed>|false
- Reads a file.
- readStream() : array<string|int, mixed>|false
- Reads a file as a stream.
Methods
read()
Reads a file.
public
abstract read(string $path) : array<string|int, mixed>|false
Parameters
- $path : string
Tags
Return values
array<string|int, mixed>|false —readStream()
Reads a file as a stream.
public
readStream(string $path) : array<string|int, mixed>|false
Parameters
- $path : string