public function set($key, $value = null) {
        if (strpos($key, '.') === false) {
            $this->_data[$key] = $value;
        } else {
            $this->_data = Hash::set($this->_data, $key, $value);
        }

        return $this;
    }
public function set($key, $value = null) {
        if (strpos($key, '.') === false) {
            $this->_data[$key] = $value;
        } else {
            $this->_data = Hash::set($this->_data, $key, $value);
        }

        return $this;
    }
public function set ( $ key , $ value = null ) { if ( strpos ( $ key , '.' ) === false ) { $ this -> _data [ $ key ] = $ value ; } else { $ this -> _data = Hash :: set ( $ this -> _data , $ key , $ value ) ; } return $ this ; }
Set a parameter value by key.

@uses Titon\Utility\Hash

@param string $key
@param mixed $value
@return $this
Set a parameter value by key .