src/Airbrake/Record.php
public function load($data)
    {
        if (!is_array($data) && !$data instanceof \stdClass) {
            return;
        }

        foreach ($data as $key => $value) {
            $this->set($key, $value);
        }
    }
public function load($data)
    {
        if (!is_array($data) && !$data instanceof \stdClass) {
            return;
        }

        foreach ($data as $key => $value) {
            $this->set($key, $value);
        }
    }
Load the given data array to the record.

@param array|\stdClass $data