Connector/Logger/ClassNameFormatter.php
private function getPayload($command)
    {
        if (!($command instanceof CommandInterface) && !($command instanceof QueryInterface)) {
            return [];
        }

        $payload = $command->toArray();

        return $this->preparePayload($payload);
    }
private function getPayload($command)
    {
        if (!($command instanceof CommandInterface) && !($command instanceof QueryInterface)) {
            return [];
        }

        $payload = $command->toArray();

        return $this->preparePayload($payload);
    }
@param mixed $command

@return array