rest_mediatekdocuments

ImmutableWriter
in package
implements WriterInterface

FinalYes

Table of Contents

Interfaces

WriterInterface

Properties

$loaded  : array<string, string>
The record of loaded variables.
$reader  : ReaderInterface
The inner reader to use.
$writer  : WriterInterface
The inner writer to use.

Methods

__construct()  : void
Create a new immutable writer instance.
delete()  : bool
Delete an environment variable, if possible.
write()  : bool
Write to an environment variable, if possible.
isExternallyDefined()  : bool
Determine if the given variable is externally defined.

Properties

$loaded

The record of loaded variables.

private array<string, string> $loaded

Methods

delete()

Delete an environment variable, if possible.

public delete(non-empty-string $name) : bool
Parameters
$name : non-empty-string
Return values
bool

write()

Write to an environment variable, if possible.

public write(non-empty-string $name, string $value) : bool
Parameters
$name : non-empty-string
$value : string
Return values
bool

isExternallyDefined()

Determine if the given variable is externally defined.

private isExternallyDefined(non-empty-string $name) : bool

That is, is it an "existing" variable.

Parameters
$name : non-empty-string
Return values
bool

        
On this page

Search results