lib/Configuration.php
public function setEnvironment($environment)
    {   
        $this->environment = $environment;
    
        $host = $this->supportedEnvironments['production']['host'];

        if(in_array($environment,array_keys($this->supportedEnvironments))){
            $host = $this->supportedEnvironments[$environment]['host'];
        }

        $this->setHost($host);

        return $this;
    }
public function setEnvironment($environment)
    {   
        $this->environment = $environment;
    
        $host = $this->supportedEnvironments['production']['host'];

        if(in_array($environment,array_keys($this->supportedEnvironments))){
            $host = $this->supportedEnvironments[$environment]['host'];
        }

        $this->setHost($host);

        return $this;
    }
Sets the environment

@param bool $environment

@return Configuration