v.0.1
This commit is contained in:
22
vendor/illuminate/contracts/Auth/Factory.php
vendored
Normal file
22
vendor/illuminate/contracts/Auth/Factory.php
vendored
Normal file
@ -0,0 +1,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);
|
||||
}
|
Reference in New Issue
Block a user