rest_mediatekdocuments

ApacheAdapter
in package
implements AdapterInterface

FinalYes

Table of Contents

Interfaces

AdapterInterface

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.
__construct()  : void
Create a new apache adapter instance.
isSupported()  : bool
Determines if the adapter is supported.

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

__construct()

Create a new apache adapter instance.

private __construct() : void

isSupported()

Determines if the adapter is supported.

private static isSupported() : bool

This happens if PHP is running as an Apache module.

Return values
bool

        
On this page

Search results