MailPoet\EmailEditor\Validator\Schema

Any_Of_Schema::__construct()publicWC 1.0

Any_Of_Schema constructor.

Method of the class: Any_Of_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

$Any_Of_Schema = new Any_Of_Schema();
$Any_Of_Schema->__construct(;

Any_Of_Schema::__construct() code WC 9.8.1

public function __construct(
	array $schemas
) {
	foreach ( $schemas as $schema ) {
		$this->schema['anyOf'][] = $schema->to_array();
	}
}