public function add($key, $value)
    {
        if (! isset($this->attributes[$key])) {
            $this->attributes[$key] = array();
        }

        $this->attributes[$key][] = $value;

        return $this;
    }
public function add($key, $value)
    {
        if (! isset($this->attributes[$key])) {
            $this->attributes[$key] = array();
        }

        $this->attributes[$key][] = $value;

        return $this;
    }
public function add ( $ key , $ value ) { if ( ! isset ( $ this -> attributes [ $ key ] ) ) { $ this -> attributes [ $ key ] = array ( ) ; } $ this -> attributes [ $ key ] [ ] = $ value ; return $ this ; }
Add an attributes data.

@method add

@param string $key
@param mixed  $value
Add an attributes data .