src/Environment/FactoryEnvironment.php
static function setCurrentEnvironment($environment)
    {
        if ( is_string($environment) && !class_exists($environment) )
            return static::setAlias($environment, static::CURRENT_NAME);
 

        static::register($environment, static::CURRENT_NAME);
    }
static function setCurrentEnvironment($environment)
    {
        if ( is_string($environment) && !class_exists($environment) )
            return static::setAlias($environment, static::CURRENT_NAME);
 

        static::register($environment, static::CURRENT_NAME);
    }
static function setCurrentEnvironment ( $ environment ) { if ( is_string ( $ environment ) && ! class_exists ( $ environment ) ) return static :: setAlias ( $ environment , static :: CURRENT_NAME ) ; static :: register ( $ environment , static :: CURRENT_NAME ) ; }
Give Current Environment To Registery

@param string|EnvBase $environment

@return null
Give Current Environment To Registery