public function on($event, callable $callback, $priority = 10)
    {
        if (!isset($this->callbacks[$event])) {
            $this->callbacks[$event] = [true, []];
        }

        $this->callbacks[$event][0] = false;
        $this->callbacks[$event][1][] = array($priority, $callback);

        return $this;
    }