public function accumulate($element, $key)
    {
        $accumulate = $this->accumulator;
        $accumulate($this->structure, $element, $key);
    }
public function accumulate($element, $key)
    {
        $accumulate = $this->accumulator;
        $accumulate($this->structure, $element, $key);
    }
public function accumulate ( $ element , $ key ) { $ accumulate = $ this -> accumulator ; $ accumulate ( $ this -> structure , $ element , $ key ) ; }
adds given element and key to result structure

@param  mixed  $element
@param  mixed  $key
adds given element and key to result structure