<?php

namespace Tamara\Wp\Plugin\Dependencies\Illuminate\Contracts\Auth;

interface Factory
{
    /**
     * Get a guard instance by name.
     *
     * @param  string|null  $name
     * @return \Tamara\Wp\Plugin\Dependencies\Illuminate\Contracts\Auth\Guard|\Tamara\Wp\Plugin\Dependencies\Illuminate\Contracts\Auth\StatefulGuard
     */
    public function guard($name = null);

    /**
     * Set the default guard the factory should serve.
     *
     * @param  string  $name
     * @return void
     */
    public function shouldUse($name);
}
