public function getPasswordBrokerFactory(): ?PasswordBrokerFactory
    {
        if (!$this->hasPasswordBrokerFactory()) {
            $this->setPasswordBrokerFactory($this->getDefaultPasswordBrokerFactory());
        }
        return $this->passwordBrokerFactory;
    }