Documentation

Config
in package

Parse and return .env configuration properties

Table of Contents

$baseDir  : string
getEnvProperties()  : string|array<string|int, mixed>
Return .env property
parseEnvProperties()  : array<string|int, mixed>
Serializes the properties of .env in array format

Properties

$baseDir

public static string $baseDir = __DIR__

Project base directory

Methods

getEnvProperties()

Return .env property

public static getEnvProperties([mixed $property = '' ]) : string|array<string|int, mixed>

@param string $property

Parameters
$property : mixed = ''
Return values
string|array<string|int, mixed>

parseEnvProperties()

Serializes the properties of .env in array format

private static parseEnvProperties() : array<string|int, mixed>

@return array

Return values
array<string|int, mixed>

Search results