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

Color::jQueryDocumentReady()   A

Complexity

Conditions 3
Paths 4

Size

Total Lines 11
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 3
eloc 7
nc 4
nop 0
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
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