src/Provider/EnvironmentServiceProvider.php
private function determine()
	{

		if (false !== $this->filepath && true === is_readable($this->filepath . '/' . $this->filename)) {
			return strtolower(trim(file_get_contents($this->filepath . '/' . $this->filename)));
		} elseif (null !== getenv($this->variable)) {
			return getenv($this->variable);
		} else {
			return false;
		}
	}
private function determine()
	{

		if (false !== $this->filepath && true === is_readable($this->filepath . '/' . $this->filename)) {
			return strtolower(trim(file_get_contents($this->filepath . '/' . $this->filename)));
		} elseif (null !== getenv($this->variable)) {
			return getenv($this->variable);
		} else {
			return false;
		}
	}
private function determine ( ) { if ( false !== $ this -> filepath && true === is_readable ( $ this -> filepath . '/' . $ this -> filename ) ) { return strtolower ( trim ( file_get_contents ( $ this -> filepath . '/' . $ this -> filename ) ) ) ; } elseif ( null !== getenv ( $ this -> variable ) ) { return getenv ( $ this -> variable ) ; } else { return false ; } }
Dertermines the runtime environment by checking for a file or an
environment variable containing the applications runtime environment
name. If both checks fail it will return false.

@return string|bool
Dertermines the runtime environment by checking for a file or an environment variable containing the applications runtime environment name . If both checks fail it will return false .