<?php

declare(strict_types=1);

namespace Numinix\SeekmodoWordPress\Elementor\Widgets;

if (!class_exists(\Elementor\Widget_Base::class)) {
    return;
}

final class QuizWidget extends AbstractSeekmodoWidget
{
    public function get_name()
    {
        return 'seekmodo-quiz';
    }

    public function get_title()
    {
        return function_exists('esc_html__')
            ? esc_html__('Seekmodo Quiz', 'seekmodo')
            : 'Seekmodo Quiz';
    }

    public function get_icon()
    {
        return 'eicon-form-horizontal';
    }

    protected function elementSlug(): string
    {
        return 'quiz';
    }
}
