MailPoet\EmailEditor\Validator
Builder::array()
Creates a schema for an array.
Method of the class: Builder{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = Builder::array( $items ): Array_Schema;
- $items(Schema|null)
- Schema of the items in the array.
Default: null
Builder::array() Builder::array code WC 9.8.1
public static function array( Schema $items = null ): Array_Schema { $array = new Array_Schema(); return $items ? $array->items( $items ) : $array; }