/** * {@inheritdoc} */ public function hasOutput() { return $this->hookCallResults->hasStdOuts() || $this->hookCallResults->hasExceptions(); }
/** * 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())); }