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

If no password broker factory has been set, this method will
set and return a default password broker factory, if any such
value is available

@see getDefaultPasswordBrokerFactory()

@return PasswordBrokerFactory|null password broker factory or null if none password broker factory has been set
Get password broker factory