2026-03-21 02:55:24 +08:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
// | Author: ScottPan Team
|
2026-03-21 02:55:24 +08:00
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
namespace crmeb\form\validate;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 布尔
|
|
|
|
|
* Class BoolRules
|
|
|
|
|
* @package crmeb\form\validate
|
|
|
|
|
*/
|
|
|
|
|
class BoolRules extends BaseRules
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public static function getType(): string
|
|
|
|
|
{
|
|
|
|
|
return 'boolean';
|
|
|
|
|
}
|
|
|
|
|
}
|