public static function getConfig($key = null, $default = null)
    {
        if (!is_null($key)) {
            if (false !== Util::path(static::$config, $key, $found)) {
                return $found;
            } else {
                return $default;
            }
        }

        return static::$config;
    }
public static function getConfig($key = null, $default = null)
    {
        if (!is_null($key)) {
            if (false !== Util::path(static::$config, $key, $found)) {
                return $found;
            } else {
                return $default;
            }
        }

        return static::$config;
    }
public static function getConfig ( $ key = null , $ default = null ) { if ( ! is_null ( $ key ) ) { if ( false !== Util :: path ( static :: $ config , $ key , $ found ) ) { return $ found ; } else { return $ default ; } } return static :: $ config ; }
Gets Resque config variable

@param  string $key     The key to search for (optional)
@param  mixed  $default If key not found returns this (optional)
@return mixed
Gets Resque config variable