plaintextApiToken; if (null === $password) { throw new LogicException('The api token is erased as another listener already used this badge.'); } $this->plaintextApiToken = null; return $password; } public function getPasswordUpgrader(): PasswordUpgraderInterface { return $this->passwordUpgrader; } public function isResolved(): bool { return true; } }