public function register(callable $callback) { $hint = $this->handlerHint($callback); $this->handlers[$hint] = $callback; }