public function shouldUse($name)
    {
        $this->setDefaultDriver($name);

        $this->userResolver = function ($name = null)
        {
            return $this->guard($name)->user();
        };
    }
public function shouldUse($name)
    {
        $this->setDefaultDriver($name);

        $this->userResolver = function ($name = null)
        {
            return $this->guard($name)->user();
        };
    }
public function shouldUse ( $ name ) { $ this -> setDefaultDriver ( $ name ) ; $ this -> userResolver = function ( $ name = null ) { return $ this -> guard ( $ name ) -> user ( ) ; } ; }
Set the default guard driver the factory should serve.

@param  string  $name
@return void
Set the default guard driver the factory should serve .