FileStore
in package
implements
StoreInterface
FinalYes
Table of Contents
Interfaces
Properties
- $fileEncoding : string|null
- The file encoding.
- $filePaths : array<string|int, string>
- The file paths.
- $shortCircuit : bool
- Should file loading short circuit?
Methods
- __construct() : void
- Create a new file store instance.
- read() : string
- Read the content of the environment file(s).
Properties
$fileEncoding
The file encoding.
private
string|null
$fileEncoding
$filePaths
The file paths.
private
array<string|int, string>
$filePaths
$shortCircuit
Should file loading short circuit?
private
bool
$shortCircuit
Methods
__construct()
Create a new file store instance.
public
__construct(array<string|int, string> $filePaths, bool $shortCircuit[, string|null $fileEncoding = null ]) : void
Parameters
- $filePaths : array<string|int, string>
- $shortCircuit : bool
- $fileEncoding : string|null = null
read()
Read the content of the environment file(s).
public
read() : string