2024-07-31 13:12:38 +07:00

15 lines
321 B
PHP

<?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;
}