| Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |||||
| 3 | namespace Illuminate\Contracts\Auth; | ||||
| 4 | |||||
| 5 | interface Factory | ||||
| 6 | { | ||||
| 7 | /** | ||||
| 8 | * Get a guard instance by name. | ||||
| 9 | * | ||||
| 10 | * @param string|null $name | ||||
| 11 | * @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard | ||||
| 12 | */ | ||||
| 13 | public function guard($name = null); | ||||
| 14 | |||||
| 15 | /** | ||||
| 16 | * Set the default guard the factory should serve. | ||||
| 17 | * | ||||
| 18 | * @param string $name | ||||
| 19 | * @return void | ||||
| 20 | */ | ||||
| 21 | public function shouldUse($name); | ||||
| 22 | } | ||||