Boolean
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 18
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1
1
<?php
2
/**
3
 * Part of the Joomla Framework Form Package
4
 *
5
 * @copyright  Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
6
 * @license    GNU General Public License version 2 or later; see LICENSE
7
 */
8
9
namespace Joomla\Form\Rule;
10
11
use Joomla\Form\Rule;
12
13
/**
14
 * Form Rule class for the Joomla Framework.
15
 *
16
 * @since       1.0
17
 * @deprecated  The joomla/form package is deprecated
18
 */
19
class Boolean extends Rule
0 ignored issues
show
Deprecated Code introduced by
The class Joomla\Form\Rule has been deprecated with message: The joomla/form package is deprecated

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.

Loading history...
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