15 lines
326 B
PHP
15 lines
326 B
PHP
<?php declare(strict_types = 1);
|
|
|
|
namespace MailPoet\Validator\Schema;
|
|
|
|
if (!defined('ABSPATH')) exit;
|
|
|
|
|
|
use MailPoet\Validator\Schema;
|
|
|
|
// See: https://developer.wordpress.org/rest-api/extending-the-rest-api/schema/#primitive-types
|
|
class BooleanSchema extends Schema {
|
|
protected $schema = [
|
|
'type' => 'boolean',
|
|
];
|
|
}
|