Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Auth/Factory.php

raw symbols SCIP
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 }