酒店预订平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

18 строки
380 B

  1. <?php
  2. namespace GuzzleHttp\Promise;
  3. /**
  4. * Exception thrown when too many errors occur in the some() or any() methods.
  5. */
  6. class AggregateException extends RejectionException
  7. {
  8. public function __construct($msg, array $reasons)
  9. {
  10. parent::__construct(
  11. $reasons,
  12. sprintf('%s; %d rejected promises', $msg, count($reasons))
  13. );
  14. }
  15. }