View difference between Paste ID: A10P0X1R and fBdUpXbP
SHOW: | | - or go back to the newest paste.
1
#neon
2
parameters:
3
	salt: 1234
4
5
services:
6
	authenticator: Acl\Security\Authenticator(@connection, %salt%)
7
8
9
10
# trida
11
12
13
class Authenticator extends Object implements NS\IAuthenticator {
14
    
15
    /** @var DibiConnection */
16
    private $db;
17
18
	private $salt;
19
20
    public function __construct(\DibiConnection $connection, $salt = NULL) {
21
        $this->db = $connection;
22
	$this->salt = $salt;
23
    }