/**
  * Public constructor
  *
  * @param PasswordValidatorInterface $validator          Password validator
  * @param callable                   $validationCallback Callback used to validate legacy password hash
  */
 public function __construct(PasswordValidatorInterface $validator, $validationCallback)
 {
     parent::__construct($validator);
     $this->validationCallback = $validationCallback;
 }
 /**
  * Public constructor
  *
  * @param PasswordValidatorInterface $validator Password validator
  * @param StorageInterface           $storage   Storage class
  */
 public function __construct(PasswordValidatorInterface $validator, StorageInterface $storage)
 {
     parent::__construct($validator);
     $this->storage = $storage;
 }