Blame view

public/vendor/illuminate/contracts/Auth/Factory.php 457 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <?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);
  }