public function appendData($key, $data)
    {
        $this->_putData($key, $data);

        if ($this->_objectCreation) {
            return $this->_afterAppendDataToNewObject();
        }
        return $this;
    }
public function appendData($key, $data)
    {
        $this->_putData($key, $data);

        if ($this->_objectCreation) {
            return $this->_afterAppendDataToNewObject();
        }
        return $this;
    }
public function appendData ( $ key , $ data ) { $ this -> _putData ( $ key , $ data ) ; if ( $ this -> _objectCreation ) { return $ this -> _afterAppendDataToNewObject ( ) ; } return $ this ; }
allow to set some mixed data type as given key

@param array|string $key
@param mixed $data
@return $this
allow to set some mixed data type as given key