private function parseEnvironmentParams($value)
    {
        // env.variable is an environment variable
        $env = explode('.', $value);
        if ('env' === $env[0]) {
            $envParam = getenv($env[1]);
            if (false === $envParam) {
                throw new InvalidArgumentException("Environment variable '$env[1]' is not defined.");
            }

            return $envParam;
        }

        return null;
    }
private function parseEnvironmentParams($value)
    {
        // env.variable is an environment variable
        $env = explode('.', $value);
        if ('env' === $env[0]) {
            $envParam = getenv($env[1]);
            if (false === $envParam) {
                throw new InvalidArgumentException("Environment variable '$env[1]' is not defined.");
            }

            return $envParam;
        }

        return null;
    }
private function parseEnvironmentParams ( $ value ) { // env.variable is an environment variable $ env = explode ( '.' , $ value ) ; if ( 'env' === $ env [ 0 ] ) { $ envParam = getenv ( $ env [ 1 ] ) ; if ( false === $ envParam ) { throw new InvalidArgumentException ( "Environment variable '$env[1]' is not defined." ) ; } return $ envParam ; } return null ; }
Check if the parameter contains an environment variable and parse it

@param string $value The value to parse

@return string|null
@throws \Propel\Common\Config\Exception\InvalidArgumentException if the environment variable is not set
Check if the parameter contains an environment variable and parse it