# elementor/4.0.0-dev2/includes/interfaces/has-validation.php

Elementor Website Builder – more than just a page builder, version 4.0.0-dev2. 15 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.0.0-dev2/code/includes/interfaces/has-validation.php
- Raw: https://pluginprobe.com/plugins/elementor/4.0.0-dev2/raw/includes/interfaces/has-validation.php
- Modified: 2024-06-26T09:20:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/4.0.0-dev2/code/includes/interfaces/has-validation.php#L10-L20`.

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

```
