Factory.php 389B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Illuminate\Contracts\Auth;
  3. interface Factory
  4. {
  5. /**
  6. * Get a guard instance by name.
  7. *
  8. * @param string|null $name
  9. * @return mixed
  10. */
  11. public function guard($name = null);
  12. /**
  13. * Set the default guard the factory should serve.
  14. *
  15. * @param string $name
  16. * @return void
  17. */
  18. public function shouldUse($name);
  19. }