Skip to content

Latest commit

 

History

History
158 lines (56 loc) · 1.44 KB

environment.md

File metadata and controls

158 lines (56 loc) · 1.44 KB
title footer
\leantime\core\environment
false

environment

  • Full name: \leantime\core\environment

Methods

getInstance

public static environment::getInstance(): mixed
  • This method is static.

Return Value:


__construct

private environment::__construct(): mixed

Return Value:


environmentHelper

private environment::environmentHelper(mixed $envVar, mixed $default, mixed $dataType = "string"): mixed

Parameters:

Parameter Type Description
envVar mixed
default mixed
dataType mixed

Return Value:


tryGetFromEnvironment

private environment::tryGetFromEnvironment(mixed $envVar, mixed $currentValue): mixed

Parameters:

Parameter Type Description
envVar mixed
currentValue mixed

Return Value:


tryGetFromYaml

private environment::tryGetFromYaml(mixed $envVar, mixed $currentValue): mixed

Parameters:

Parameter Type Description
envVar mixed
currentValue mixed

Return Value:



Automatically generated from source code comments on 2023-02-28 using phpDocumentor