File "has-validation.php"

Full path: /home/sbkuplnl/public_html/wp-content/plugins/elementor/includes/interfaces/has-validation.php
File size: 0.31 KB (321 B bytes)
MIME-type: text/x-php; charset=us-ascii
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

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