Automattic\WooCommerce\EmailEditor\Validator
Builder::any_of
Creates a schema that allows a value to match any of the given schemas.
Method of the class: Builder{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = Builder::any_of( $schemas ): Any_Of_Schema;
- $schemas(Schema[]) (required)
- List of schemas.
Builder::any_of() Builder::any of code WC 10.6.2
public static function any_of( array $schemas ): Any_Of_Schema {
return new Any_Of_Schema( $schemas );
}