src/Environment.php
public static function configure($name, $params, $config = null, $callable = null)
    {
        $_this = Environment::getInstance();
        $_this->environments[$name] = compact('name', 'params', 'config', 'callable');
    }
public static function configure($name, $params, $config = null, $callable = null)
    {
        $_this = Environment::getInstance();
        $_this->environments[$name] = compact('name', 'params', 'config', 'callable');
    }
public static function configure ( $ name , $ params , $ config = null , $ callable = null ) { $ _this = Environment :: getInstance ( ) ; $ _this -> environments [ $ name ] = compact ( 'name' , 'params' , 'config' , 'callable' ) ; }
Configures a given environment with certain instructions

@param string $name Name of the environment we are checking for
@param array $params Array of keys to check
@param array $config Array of configure keys
@param callable $callable A callable to invoke when an environment matches
@return bool
Configures a given environment with certain instructions