private function mergeAttributes(array $toAdd)
    {
        $this->attributes = array_merge($this->attributes, $toAdd);
        ksort($this->attributes);
        return $this;
    }
private function mergeAttributes(array $toAdd)
    {
        $this->attributes = array_merge($this->attributes, $toAdd);
        ksort($this->attributes);
        return $this;
    }
private function mergeAttributes ( array $ toAdd ) { $ this -> attributes = array_merge ( $ this -> attributes , $ toAdd ) ; ksort ( $ this -> attributes ) ; return $ this ; }
Merges attributes with this instance's attributes.

@param   array   $toAdd
@return  self
Merges attributes with this instance s attributes .