class AggregateException in Zircon Profile 8
Same name in this branch
- 8 vendor/guzzlehttp/promises/src/AggregateException.php \GuzzleHttp\Promise\AggregateException
- 8 vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php \Prophecy\Exception\Prediction\AggregateException
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php \Prophecy\Exception\Prediction\AggregateException
Hierarchy
- class \Prophecy\Exception\Prediction\AggregateException extends \Prophecy\Exception\Prediction\RuntimeException implements PredictionException
Expanded class hierarchy of AggregateException
2 files declare their use of AggregateException
- ObjectProphecy.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ ObjectProphecy.php - Prophet.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophet.php
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prediction/ AggregateException.php, line 16
Namespace
Prophecy\Exception\PredictionView source
class AggregateException extends \RuntimeException implements PredictionException {
private $exceptions = array();
private $objectProphecy;
public function append(PredictionException $exception) {
$message = $exception
->getMessage();
$message = ' ' . strtr($message, array(
"\n" => "\n ",
)) . "\n";
$this->message = rtrim($this->message . $message);
$this->exceptions[] = $exception;
}
/**
* @return PredictionException[]
*/
public function getExceptions() {
return $this->exceptions;
}
public function setObjectProphecy(ObjectProphecy $objectProphecy) {
$this->objectProphecy = $objectProphecy;
}
/**
* @return ObjectProphecy
*/
public function getObjectProphecy() {
return $this->objectProphecy;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AggregateException:: |
private | property | ||
AggregateException:: |
private | property | ||
AggregateException:: |
public | function | ||
AggregateException:: |
public | function | ||
AggregateException:: |
public | function | ||
AggregateException:: |
public | function | ||
Exception:: |
public | function |