navasena/wp-content/plugins/elementor/includes/interfaces/has-validation.php

15 lines
321 B
PHP
Raw Normal View History

2024-07-31 13:12:38 +07:00
<?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;
}