HosipLan

Untitled

Feb 14th, 2012
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. #neon
  2. services:
  3.     authenticator: Acl\Security\Authenticator(@connection, %salt%)
  4.  
  5.  
  6.  
  7. # trida
  8.  
  9.  
  10. class Authenticator extends Object implements NS\IAuthenticator {
  11.    
  12.     /** @var DibiConnection */
  13.     private $db;
  14.  
  15.     private $salt;
  16.  
  17.     public function __construct(\DibiConnection $connection, $salt = NULL) {
  18.         $this->db = $connection;
  19.     $this->salt = $salt;
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment