src/PayloadBehaviour.php
private function setPayload(array $parameters): void
    {
        $this->payload = [];

        foreach ($parameters as $parameter => $value) {
            $this->setPayloadParameter($parameter, $value);
        }
    }
private function setPayload(array $parameters): void
    {
        $this->payload = [];

        foreach ($parameters as $parameter => $value) {
            $this->setPayloadParameter($parameter, $value);
        }
    }
private function setPayload ( array $ parameters ) : void { $ this -> payload = [ ] ; foreach ( $ parameters as $ parameter => $ value ) { $ this -> setPayloadParameter ( $ parameter , $ value ) ; } }
Set payload.

@param array<string, mixed> $parameters
Set payload .