Listeners - landrisek/impala GitHub Wiki
Add listener $myListener = new MyListener implements Impala\IListener; $this->builder->listen($myListener); IListener::getKeys Should return array wiht integer values, Impala will run action MyListener:listen on given keycode (e.g. 13 for Enter). IListener::listen Will be run on given keycode Examples public function getKeys(): array { return [13]; }