EnvFile
class EnvFile extends AbstractObject implements IdAble
A collection of environment variables.
Properties
$lastQuery | from AbstractObject |
Methods
from
AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from
AbstractObject
bool
exists(string $name)
Check if a variable exists
string
get(string $name)
Lookup a variable (last occurrence wins) and return its value, or an empty string
id()
A unique identifier for this EnvFile.
array
variables()
Return all variables
withVariable(string $name, string $value)
Add a variable
withoutVariable(string $name)
Remove all occurrences of the named variable
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
File
asFile()
Return as a file
at line 28
bool
exists(string $name)
Check if a variable exists
at line 38
string
get(string $name)
Lookup a variable (last occurrence wins) and return its value, or an empty string
at line 48
AbstractId
id()
A unique identifier for this EnvFile.
at line 57
array
variables()
Return all variables
at line 66
EnvFile
withVariable(string $name, string $value)
Add a variable
at line 77
EnvFile
withoutVariable(string $name)
Remove all occurrences of the named variable