Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function hasOutput()
 {
     return $this->hookCallResults->hasStdOuts() || $this->hookCallResults->hasExceptions();
 }
Пример #2
0
 /**
  * Merges results from provided collection into the current one.
  *
  * @param CallResults $first
  * @param CallResults $second
  *
  * @return CallResults
  */
 public static function merge(CallResults $first, CallResults $second)
 {
     return new static(array_merge($first->toArray(), $second->toArray()));
 }