public function __construct($master, $algorithm = 'sha512', $encodeHashAsBase64 = true, $iterations = 5000) { parent::__construct($algorithm, $encodeHashAsBase64, $iterations); $this->master = $master; }
/** * Constructor */ public function __construct() { parent::__construct(); $this->roles = new ArrayCollection(); $this->isActive = false; $this->isLocked = false; $this->salt = md5(uniqid(null, true)); $this->rules = false; $this->conditions = false; $this->type = true; $this->register = new \DateTime(); $this->shopUrl = ''; $this->streetNr = ''; $this->state = ''; $this->db_server = ''; $this->db_user = ''; $this->db_name = ''; $this->db_password = ''; $this->paymentType = 0; }