<?php
namespace Spatie\LaravelIgnition\Recorders\DumpRecorder;
class MultiDumpHandler
{
/** @var array<int, callable|null> */
protected array $handlers = [];
public function dump(mixed $value): void
{
foreach ($this->handlers as $handler) {
if ($handler) {
$handler($value);
}
}
}
public function addHandler(callable $callable = null): self
{
$this->handlers[] = $callable;
return $this;
}
}
Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.