Automattic\WooCommerce\EmailEditor\Validator
Builder::object
Creates a schema for an object.
Метод класса: Builder{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = Builder::object( ?array $properties ): Object_Schema;
- ?array $properties
- .
По умолчанию:null
Код Builder::object() Builder::object WC 11.2.2
public static function object( ?array $properties = null ): Object_Schema {
$object = new Object_Schema();
return null === $properties ? $object : $object->properties( $properties );
}