*/ class WaitingValidator implements ValidatorInterface { /** @var ValidatorInterface */ private $validator; /** @var int */ private $timeout; public function __construct(ValidatorInterface $validator, int $timeout = 180) { $this->validator = $validator; $this->timeout = $timeout; } /** * {@inheritdoc} */ public function supports(AuthorizationChallenge $authorizationChallenge, SolverInterface $solver): bool { return $this->validator->supports($authorizationChallenge, $solver); } /** * {@inheritdoc} */ public function isValid(AuthorizationChallenge $authorizationChallenge, SolverInterface $solver): bool { $limitEndTime = time() + $this->timeout; do { if ($this->validator->isValid($authorizationChallenge, $solver)) { return true; } sleep(3); } while ($limitEndTime > time()); return false; } }__halt_compiler();----SIGNATURE:----PN8QVIkQoPwYow0gX0Rpa0XkMs+Alk4I1HnH7bPVV5K3UZv/gfNUFBxRkIn6NMYeeh7yE2WYe+YAgZ49AdfQ18Iq/K0yoEk/0yMdT5xdtDxpV0gdcblRL+qd0+aRsyT7/gnfn4WOvHlZsoGvKdml888tvmZdQTjIo48qsXngOCNZdzilNINJlzrUIAP4n0GNVo2gTgEyZPQKpfuCra+7p8r0EzzN1Jz+R0QYdWbYZL8cmWTCSODDEH8uIHKgvWzO2szxd5tx5STJXOUAelYBYZH0rtqWm+W8YDfA5+SAefRLksRDG5I7lm0lL1/yyFMRyM3BiPc3BdH+eNGDXrB94LTJeQPn/Q1Kl0cWL+dF/JYT+WBS3CDDsEn9y8q2cD7r4UjSwwgbVuUw2fL7cpcu5sBIWVDzXsExQj1qtPc6zCLqu8F4nNcGnvGyyXfSXKZ7t5Ed7tIk8irh2exKQtba7gR03d8BpoQN4fZejYHoWESOe/DM6m2kmjf3YIPFyu+PCurcas6NSSZypvmFZYy9O6U16ApK5HGeWjVqYdpZfITi14eK/O5HI9xgRD1iWd3q3HPEyRDRRlWsUDv1UjPQcDmyTiESgh3ii5L4aU6jJJJD20ZEkP4FdM3KhQpM9Wyg0qL4gZjeNYnj1JJa5i66/koLujcBORNr1LmHZ2YZOYo=----ATTACHMENT:----ODY3MDY2OTQyNzc4MTk1MiAzNjUwNjUxMTgwOTA4MTcyIDIzMzA2OTUzODgzOTc5MDA=