1 | <?php |
||
19 | class Boolean extends Rule |
||
|
|||
20 | { |
||
21 | /** |
||
22 | * The regular expression to use in testing a form field value. |
||
23 | * |
||
24 | * @var string |
||
25 | * @since 1.0 |
||
26 | */ |
||
27 | protected $regex = '^(?:[01]|true|false)$'; |
||
28 | |||
29 | /** |
||
30 | * The regular expression modifiers to use when testing a form field value. |
||
31 | * |
||
32 | * @var string |
||
33 | * @since 1.0 |
||
34 | */ |
||
35 | protected $modifiers = 'i'; |
||
36 | } |
||
37 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.