Documentation

DatabaseProperties
in package

Expects the following environment variables to be set by the OS:

MYSQL_HOST MYSQL_USER MYSQL_DATABASE MYSQL_PASSWORD_FILE

Table of Contents

Properties

$database  : string
$host  : string
$password  : string
$user  : string

Methods

__construct()  : mixed
getFromEnv()  : string
getFromFile()  : string

Properties

Methods

getFromEnv()

private getFromEnv(string $name) : string
Parameters
$name : string
Return values
string

getFromFile()

private getFromFile(string $file) : string
Parameters
$file : string
Return values
string

        
On this page

Search results