Email   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 14
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
namespace Rocket\UI\Forms\Fields;
3
4
/**
5
 * Manage email fields
6
 */
7
8
/**
9
 * Password text field
10
 *
11
 * @author Stéphane Goetz
12
 */
13
class Email extends Field
14
{
15
    /**
16
     * Overrides the type
17
     * @param string $id
18
     * @param array $data
19
     */
20
    public function __construct($id, $data = [])
21
    {
22
        $this->type = 'email';
23
24
        parent::__construct($id, $data);
25
    }
26
}
27