public function toArray()
    {
        return [
            'adapterName' => $this->adapterName,
            'objectType' => $this->objectType,
            'commandType' => $this->commandType,
            'priority' => $this->priority,
            'payload' => $this->payload,
        ];
    }
public function toArray()
    {
        return [
            'adapterName' => $this->adapterName,
            'objectType' => $this->objectType,
            'commandType' => $this->commandType,
            'priority' => $this->priority,
            'payload' => $this->payload,
        ];
    }
{@inheritdoc}