public static function configure(array $config)
    {
        if (!is_null(static::$instance)) {
            return static::$instance;
        }

        static::$config = $config;

        static::$session = Session::getInstance();

        return static::$instance = new Auth($config[$config['default']]);
    }
public static function configure(array $config)
    {
        if (!is_null(static::$instance)) {
            return static::$instance;
        }

        static::$config = $config;

        static::$session = Session::getInstance();

        return static::$instance = new Auth($config[$config['default']]);
    }
public static function configure ( array $ config ) { if ( ! is_null ( static :: $ instance ) ) { return static :: $ instance ; } static :: $ config = $ config ; static :: $ session = Session :: getInstance ( ) ; return static :: $ instance = new Auth ( $ config [ $ config [ 'default' ] ] ) ; }
Configure Auth system

@param array $config
@return Auth
Configure Auth system