rest_mediatekdocuments

AdapterInterface extends ReaderInterface, WriterInterface

Table of Contents

Methods

create()  : Option<string|int, AdapterInterface>
Create a new instance of the adapter, if it is available.
delete()  : bool
Delete an environment variable, if possible.
read()  : Option<string|int, string>
Read an environment variable, if it exists.
write()  : bool
Write to an environment variable, if possible.

Methods

delete()

Delete an environment variable, if possible.

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

read()

Read an environment variable, if it exists.

public read(non-empty-string $name) : Option<string|int, string>
Parameters
$name : non-empty-string
Return values
Option<string|int, string>

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

        
On this page

Search results