public static function addListener(string $event, $function, int $priority = 10, array $args = null) : void
    {
        Event::$listeners[$event][$priority][] = [
            'function'  => $function,
            'args'      => $args
        ];
    }