/** * Generates a random salt for the password. * * @return string */ private function generateSalt() { return $this->saltGenerator->getRandomSalt(); }
/** * @return string */ protected function getRandomSalt() { return $this->saltGenerator->getRandomSalt(); }