• File: Factory.php
  • Full Path: /var/www/crm_set/application/vendor/illuminate/contracts/Auth/Factory.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 457 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Illuminate\Contracts\Auth;

interface Factory
{
    /**
     * Get a guard instance by name.
     *
     * @param  string|null  $name
     * @return \Illuminate\Contracts\Auth\Guard|\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);
}