public function getVariables()
    {
        $variables  = app()->make('antares.notifications')->all();
        $extensions = app()->make('antares.memory')->make('component')->get('extensions.active');

        if (empty($variables)) {
            return [];
        }
        $return = [];
        foreach ($variables as $extension => $config) {
            $name = ucfirst($extension == 'foundation' ? $extension : array_get($extensions, $extension . '.name'));
            $vars = $config['variables'];
            if (empty($vars)) {
                continue;
            }
            foreach ($vars as $key => $variable) {
                $return[$name][] = ['name' => $key, 'description' => isset($variable['description']) ? $variable['description'] : ''];
            }
        }
        Event::fire('notifications:' . snake_case(class_basename($this)) . '.variables', [&$return]);

        return $return;
    }