MailPoet\EmailEditor\Validator\Schema

Array_Schema::items()publicWC 1.0

Sets the schema for the items in the array.

Method of the class: Array_Schema{}

No Hooks.

Return

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 9.8.1

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