public function attributes($key = null, $value = null)
    {
        if (is_null($key)) {
            return $this->attributes;
        }

        if (is_array($key)) {
            $this->attributes = array_merge($this->attributes, $key);
        } else {
            $this->attributes[$key] = $value;
        }

        return;
    }