protected function addHistory($method, $arguments)
    {
        if (!isset($this->history[$method])) {
            $this->history[$method] = [];
        }

        $this->history[$method][] = $arguments;

        return $this;
    }
protected function addHistory($method, $arguments)
    {
        if (!isset($this->history[$method])) {
            $this->history[$method] = [];
        }

        $this->history[$method][] = $arguments;

        return $this;
    }
protected function addHistory ( $ method , $ arguments ) { if ( ! isset ( $ this -> history [ $ method ] ) ) { $ this -> history [ $ method ] = [ ] ; } $ this -> history [ $ method ] [ ] = $ arguments ; return $ this ; }
Adds a history entry to collection.

@param string $method    The methods name
@param array  $arguments The methods argument

@author Benjamin Carl <opensource@clickalicious.de>
@return Doozr_Request_State Instance for chaining
@access protected
Adds a history entry to collection .