public function receive($sender, ProtocolInterface $protocol) { if ($this->getInput()->handle($sender, $protocol)) { $this->emit('input', [$sender, $protocol]); } }