ProcessDto

The single argument every node's processAction() receives. It carries the message payload, the request/response headers used by the platform, and the routing/result decision the node makes.

use Hanaboso\PipesPhpSdk\Utils\Process\ProcessDto;

Inheritance #

ProcessDtoAbstract -> ProcessDto

Methods provided #

MethodReturnsPurpose
getJsonData()arrayParse and return the message payload.
setJsonData(mixed $value)selfReplace the payload with serialized JSON.
getData()stringRaw body.
setData(string $value)selfSet raw body.
getHeaders()arrayInbound message headers.
setHeaders(array $headers)selfReplace the header map.
addHeader(string $key, string $value)selfAdd or overwrite one header.
setStopProcess(int $code, string $reason)selfEnd this branch. See ProcessDtoAbstract.

See also #

© 2025 Orchesty Solutions. All rights reserved.