<?php

namespace WPDeskKSEFVendor\WPDesk\Forms\Validator;

use WPDeskKSEFVendor\WPDesk\Forms\Validator;
class RequiredValidator implements Validator
{
    public function is_valid($value)
    {
        return $value !== null;
    }
    public function get_messages()
    {
        return [];
    }
}
