예제 #1
0
 public function __construct(\Zend\ServiceManager\ServiceManager $sm)
 {
     $this->_salt = sprintf("\$2a\$%02d\$", self::COST) . strtr(base64_encode(mcrypt_create_iv(16, MCRYPT_DEV_URANDOM)), '+', '.');
     parent::__construct($sm, 'Entity\\User');
 }
예제 #2
0
 public function __construct(\Zend\ServiceManager\ServiceManager $sm, $entity)
 {
     parent::__construct($sm, $entity);
 }