public function setEnv($env = null)
    {
        if (in_array($env, \WebServCo\Framework\Environment::getOptions())) {
            $this->env = $env;
        } else {
            $this->env = \WebServCo\Framework\Environment::ENV_DEV;
        }

        return true;
    }
public function setEnv($env = null)
    {
        if (in_array($env, \WebServCo\Framework\Environment::getOptions())) {
            $this->env = $env;
        } else {
            $this->env = \WebServCo\Framework\Environment::ENV_DEV;
        }

        return true;
    }
public function setEnv ( $ env = null ) { if ( in_array ( $ env , \ WebServCo \ Framework \ Environment :: getOptions ( ) ) ) { $ this -> env = $ env ; } else { $ this -> env = \ WebServCo \ Framework \ Environment :: ENV_DEV ; } return true ; }
Set application environment value.

@param string $env

@return bool
Set application environment value .