/var/www/html_us/wp-content/plugins/elementor/includes/interfaces/has-validation.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

namespace Elementor;

/**
 * Elementor has validation interface.
 *
 * @param array $control_data The value to validate.
 * @return bool True on valid, throws an exception on error.
 * @throws \Exception If validation fails.
 */
interface Has_Validation {
    public function 
validate( array $control_data ): bool;
}