酒店预订平台
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

AggregateException.php 380 B

3 yıl önce
1234567891011121314151617
  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. }