*/ 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:----WDcC0Jw3JoAEUd9X6OHg3FmmDLwEu7tLc1+CJTTu1ALHsXLq5WgsRYL8pkMIb6GsThqObLAWgsaRP+cy7wgHOJ1V4B8sjNQimkntQ+LxJdLZb/l1F3a8ku6H/XJvhgDti2oT0esFPUemGartCH/l4vNb68jULYNJDmaa1uxMdd+shH5qIAcQ+Hi/ACoIGp25/BFTAFp4qngrUUYkRJMSJNsELnWVy3jiCXOj2E+U1JSMfGbEz0Yo6eqRJmsWObmgP5FgJ0UkjLddI+EV0wxBUYqXeG4LABq/R4q2FgLPdy3047egUR++RlfZJWcmnL+Ws+pcALqBKE1rkKYH4OcjJbVgpO/5MFg1nScBEVNCNSu/ikQVROEtNlDu5sBLYzmQJNkUstENo0m4kpJg9kbeyevjsS67MrFt6k7dmD2xIgfntPGeGTvGW/XW2V4z6jfEnAXOHlS1l/sy0FEBsBOSSB3pJoNvxGfnw3c/XND1FGgGO1rUaWzSI4NOnaEXoFYTlo1PmSeF7bUVfDGWHjovI1A26RkXSB37ZYKhEGndF30+xlFOKv/EpZzY62NswOs2hFduKdNMElKQFaQMrC97Fo7xMfFalEdyER4WsP+zU3IHhLKDNUau+I7tPg+di4jbHGSwRlFj3TLZDN9Fs1sYOxg6upBh3tho/TDdt2yFJYU=----ATTACHMENT:----MjkwNDE0MDQ3NTU0ODg2IDYwMTIwMDM0NDYxMDEyODIgNTIyODUxOTAzOTg5NTg5OA==