DataSift_StreamConsumer::onInteraction PHP Method

onInteraction() protected method

This is called for each interaction received from the stream and must be implemented in extending classes.
protected onInteraction ( array $interaction, boolean $hash = false ) : void
$interaction array The interaction data structure
$hash boolean
return void
    protected function onInteraction($interaction, $hash = false)
    {
        $this->_eventHandler->onInteraction($this, $interaction, $hash);
    }