Completed
Branch master (d39ff3)
by Pierre-Henry
32:32
created

Color   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 9
rs 10
wmc 1
lcom 1
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 6 1
1
<?php
2
/**
3
 * I made changes in this file (by Pierre-Henry SORIA).
4
 */
5
6
namespace PFBC\Element;
7
8
class Color extends Textbox
9
{
10
    public function render()
11
    {
12
        $this->attributes['type'] = 'color';
13
        $this->validation[] = new \PFBC\Validation\HexColor;
14
        parent::render();
15
    }
16
}
17