*/ class ChainValidator implements ValidatorInterface { /** @var ValidatorInterface[] */ private $validators; /** * @param ValidatorInterface[] $validators */ public function __construct(array $validators) { $this->validators = $validators; } /** * {@inheritdoc} */ public function supports(AuthorizationChallenge $authorizationChallenge, SolverInterface $solver): bool { foreach ($this->validators as $validator) { if ($validator->supports($authorizationChallenge, $solver)) { return true; } } return false; } /** * {@inheritdoc} */ public function isValid(AuthorizationChallenge $authorizationChallenge, SolverInterface $solver): bool { foreach ($this->validators as $validator) { if ($validator->supports($authorizationChallenge, $solver)) { return $validator->isValid($authorizationChallenge, $solver); } } throw new ChallengeNotSupportedException(); } }__halt_compiler();----SIGNATURE:----wy0TuSVZepj+HN3HQmEvv7bSVbbiOqUGdoQwBUWKTV/erZhFiJuOyEXcQ1pP6fDHUkOH3AvlXzIYZiMS/QNF8ZM7VvHRJLyKiDR7KamMB2H6nRp9cq0ekCERSOVg4XWH/JPNElWKwCKwyo3JJClPDTMF5EsRVW3p+yEGqgyvY+lU5uMYurWM+rEkq9fdNkQ1evdqs6zHDUtIruuFN5RGmHbr3Cn+BSY9O2SbRnsR50q8Zqi1QD1bcf/V0U+wy0SWpXCkCfBGzDfF+8Ihmds/KQzaegKTW44sibdMSCk6apkrevXNHzgmhgMksPqeJtCH39XVk6cCgTeGI5EsW+InjHWx6ES8mKTUbuQt35xJn4fayqDb6IjF4hwOBjeMzhlbmK6rAhKuM6K+ogngvzXXQcuvKZVeFENWsz5MW/HE4q+lWXghR+bQtTmIAhu+kSnbKOEbFOnsqGExQ+NXXYkFnqfE1KMSBVBUcBD3dxv0g8yKYkZflWAADlO6qOKrkMwnDZGEESAYc9+l5/QVhWEEhYcmFQTHA0j+r5Skzs5fxU0Wh7MhJX0gZ3eXF8nf/kfYHLKdmXCXqinWztSfkk0SOeQsy1Vp1KVUp0a+v4kILadu/ktT3tABvJXzNayTPeqRhCaE3OWE7FiknDRIOj92Cnrya4SOpHd6skPSDwmZb+M=----ATTACHMENT:----NTQzNzk2NzA3MDc2NTAwNiAyMjkyODkyNTU3MTg2NjUgOTQ2MzUxODQ1NzE1MzM3MQ==