MailPoet\EmailEditor\Validator\Schema
Object_Schema::properties()
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->properties( $properties ): self;
- $properties(array) (required)
- -
Object_Schema::properties() Object Schema::properties code WC 9.8.1
public function properties( array $properties ): self { return $this->update_schema_property( 'properties', array_map( function ( Schema $property ) { return $property->to_array(); }, $properties ) ); }