Automattic\WooCommerce\EmailEditor\Validator\Schema

Array_Schema::minItemspublicWC 1.0

Sets the minimum number of items in the array.

Метод класса: Array_Schema{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Array_Schema = new Array_Schema();
$Array_Schema->minItems( $value ): self;
$value(int) (обязательный)
Minimum number of items in the array.

Код Array_Schema::minItems() WC 9.9.5

public function minItems( int $value ): self {
	return $this->update_schema_property( 'minItems', $value );
}