Completed
Push — develop ( 6a0b8a...755a17 )
by Daniel
07:17
created

email::get_name()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2013 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\content\services\form\field;
11
12
class email extends base
13
{
14
	/**
15
	 * @inheritdoc
16
	 */
17 4
	public function get_default_props()
18
	{
19
		return array(
20 4
			'size'	=> 45,
21 4
			'min'	=> 0,
22 4
			'max'	=> 255,
23 4
		);
24
	}
25
26
	/**
27
	 * @inheritdoc
28
	 */
29 5
	public function get_name()
30
	{
31 5
		return 'email';
32
	}
33
}
34