MailPoet\EmailEditor\Validator

Builder::any_of()public staticWC 1.0

Creates a schema that allows a value to match any of the given schemas.

Method of the class: Builder{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Builder::any_of( $schemas ): Any_Of_Schema;
$schemas(Schema[]) (required)
List of schemas.

Builder::any_of() code WC 9.8.1

public static function any_of( array $schemas ): Any_Of_Schema {
	return new Any_Of_Schema( $schemas );
}