Automattic\WooCommerce\EmailEditor\Validator\Schema

Array_Schema::itemspublicWC 1.0

Sets the schema for the items in the array.

Method of the class: Array_Schema{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Array_Schema = new Array_Schema();
$Array_Schema->items( $schema ): self;
$schema(Schema) (required)
Schema for the items in the array.

Array_Schema::items() code WC 10.3.6

public function items( Schema $schema ): self {
	return $this->update_schema_property( 'items', $schema->to_array() );
}