public static function appAlias()
    {
        if (config('alias.enable')) {
            foreach (array_except(self::$aliases, 'kernel') as $array =>$aliases) {
                foreach ($aliases as $key => $value) {
                    exception_if(!class_exists($value), AliasedClassNotFoundException::class, $value, $array);

                    self::set($value, $key);
                }
            }
        }
    }