src/Response.php
public function meta($meta = null, $merge = false) {
        if ($meta !== null) {
            if ($merge) {
                $this->meta = array_merge($this->meta, $meta);
            } else {
                $this->meta = $meta;
            }
            return $this;
        } else {
            return $this->meta;
        }
    }
public function meta($meta = null, $merge = false) {
        if ($meta !== null) {
            if ($merge) {
                $this->meta = array_merge($this->meta, $meta);
            } else {
                $this->meta = $meta;
            }
            return $this;
        } else {
            return $this->meta;
        }
    }
Get or set the meta data for the response.

The meta is an array of data that is unrelated to the response data.

@param array|null $meta Pass a new meta data value or `null` to get the current meta array.
@param bool $merge Whether or not to merge new data with the current data when setting.
@return $this|array Returns either the meta or `$this` when setting the meta data.