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'); }
public function __construct(\Zend\ServiceManager\ServiceManager $sm, $entity) { parent::__construct($sm, $entity); }