public static function bind($event, $callback, $priority = Event::PRIORITY_NORMAL) {
        $event = strtolower($event);
        self::$handlers[$event][$priority][] = $callback;
        self::$toSort[$event] = true;
    }