MailPoet\EmailEditor\Validator\Schema

Object_Schema::additionalProperties()publicWC 1.0

Set the required properties of the object.

Method of the class: Object_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

$Object_Schema = new Object_Schema();
$Object_Schema->additionalProperties( $schema ): self;
$schema(Schema) (required)
Schema of the additional properties.

Object_Schema::additionalProperties() code WC 9.8.1

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