Illuminate\Database\Eloquent\Model::append PHP Method

append() public method

Append attributes to query when building a query.
public append ( array | string $attributes )
$attributes array | string
    public function append($attributes)
    {
        if (is_string($attributes)) {
            $attributes = func_get_args();
        }
        $this->appends = array_unique(array_merge($this->appends, $attributes));
        return $this;
    }
Model