Passed
Push — master ( d26101...1eb4af )
by Gabor
03:11
created

KeygenElement   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * WebHemi.
4
 *
5
 * PHP version 5.6
6
 *
7
 * @copyright 2012 - 2016 Gixx-web (http://www.gixx-web.com)
8
 * @license   https://opensource.org/licenses/MIT The MIT License (MIT)
9
 *
10
 * @link      http://www.gixx-web.com
11
 */
12
namespace WebHemi\Form\Element\Web;
13
14
/**
15
 * Class KeygenElement.
16
 */
17
class KeygenElement extends AbstractElement
18
{
19
    /** @var string */
20
    protected $type = 'keygen';
21
22
    /**
23
     * SelectElement constructor.
24
     *
25
     * @param string $name
26
     * @param string $label
27
     * @param mixed  $value
28
     */
29 1
    public function __construct($name = '', $label = '', $value = null)
30
    {
31 1
        parent::__construct($name, $label, $value);
32
33 1
        $this->setTabIndex();
34 1
    }
35
}
36