phpDocumentor

Environment

Class Environment

Table of Contents

$isCloud  : bool
$isDev  : bool
__construct()  : mixed
Environment constructor.
isCloud()  : bool
Return true if current environment is a cloud environment.
isDev()  : bool
Return true if develop mode is active.

Properties

Methods

__construct()

Environment constructor.

public __construct(bool $isDev, bool $isCloud) : mixed
Parameters
$isDev : bool
$isCloud : bool
Return values
mixed

isCloud()

Return true if current environment is a cloud environment.

public isCloud() : bool
Return values
bool

isDev()

Return true if develop mode is active.

public isDev() : bool
Return values
bool

Search results