src/DdvUtil/Laravel/Model.php
public function pushAttribute($key, $value)
    {
        $array = $this->getAttribute($key);
        $array = is_array($array)?$array:array();
        $array[] = $value;
        $this->setAttribute($key, $array);
        return $this;
    }
public function pushAttribute($key, $value)
    {
        $array = $this->getAttribute($key);
        $array = is_array($array)?$array:array();
        $array[] = $value;
        $this->setAttribute($key, $array);
        return $this;
    }
插入属性

@param  string  $key
@param  mixed  $value
@return static|Model|$this [请求对象]