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,5 +1,9 @@
<?php namespace Laravel\Security\Hashing;
use Laravel\Facade;
class Hasher_Facade extends Facade { public static $resolve = 'hasher'; }
class Hasher {
/**
@@ -22,19 +26,6 @@ class Hasher {
$this->engine = (is_null($engine)) ? new BCrypt(10, false) : $engine;
}
/**
* Create a new Hasher instance.
*
* If no hashing engine is provided, the BCrypt engine will be used.
*
* @param Engine $engine
* @return Hasher
*/
public static function make(Engine $engine = null)
{
return new static($engine);
}
/**
* Magic Method for delegating method calls to the hashing engine.
*