public setAttributes ( array $attributes ) | ||
$attributes | array | The attributes to add to the existing ones |
public function setAttributes($attributes)
{
$this->attributes = array_merge($this->attributes, (array) $attributes);
return $this;
}