<?php

namespace DhlPolskaVendor\WPDesk\Forms\Field;

use DhlPolskaVendor\WPDesk\Forms\Serializer;
use DhlPolskaVendor\WPDesk\Forms\Serializer\JsonSerializer;
class TimepickerField extends BasicField
{
    public function get_type(): string
    {
        return 'time';
    }
    public function has_serializer(): bool
    {
        return \true;
    }
    public function get_serializer(): Serializer
    {
        return new JsonSerializer();
    }
    public function get_template_name(): string
    {
        return 'timepicker';
    }
}
