protected function LagoonLogger::getHostProcessIndex in Lagoon Logs 7
Return value
string
This will return some kind of representation of the process
1 call to LagoonLogger::getHostProcessIndex()
File
- lib/
LagoonLogger.php, line 106
Class
Code
protected function getHostProcessIndex() {
$nameArray = [];
$nameArray['lagoonProjectName'] = getenv('LAGOON_PROJECT') ?: self::LAGOON_LOGS_DEFAULT_LAGOON_PROJECT;
$nameArray['lagoonGitBranchName'] = getenv('LAGOON_GIT_SAFE_BRANCH') ?: self::LAGOON_LOGS_DEFAULT_SAFE_BRANCH;
return implode('-', $nameArray);
}