added more facades.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
<?php namespace Laravel\Security;
|
||||
|
||||
use Laravel\IoC;
|
||||
use Laravel\Facade;
|
||||
use Laravel\Session\Driver;
|
||||
|
||||
class Authenticator_Facade extends Facade { public static $resolve = 'auth'; }
|
||||
|
||||
class Authenticator {
|
||||
|
||||
/**
|
||||
@@ -51,16 +54,6 @@ class Authenticator {
|
||||
$this->session = $driver;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an authenticator instance from the IoC container.
|
||||
*
|
||||
* @return Authenticator
|
||||
*/
|
||||
public static function make()
|
||||
{
|
||||
return IoC::container()->resolve('laravel.auth');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the current user of the application is authenticated.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user