EnvironmentInfo
EnvironmentInfo Class.
Gets basic information about the application environment.
Tags
Table of Contents
$ci | ContainerInterface | |
---|---|---|
database() | Get an array of key-value pairs containing basic information about the default database. | string[] |
canConnectToDatabase() | Test whether a DB connection can be established. | bool |
Properties
$ci
public
static ContainerInterface
$ci
Methods
database()
Get an array of key-value pairs containing basic information about the default database.
public
static database(
)
: string[]
Return values
string[] —the properties of this database.
canConnectToDatabase()
Test whether a DB connection can be established.
public
static canConnectToDatabase(
)
: bool
Return values
bool —true if the connection can be established, false otherwise.