added more facades.

This commit is contained in:
Taylor Otwell
2011-09-03 23:05:06 -05:00
parent 31e2c1c49e
commit 2d170e2314
9 changed files with 38 additions and 45 deletions

View File

@@ -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.
*