Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 1 | public function init() |
|
26 | { |
||
27 | 1 | $this->setAttribute('type', 'hidden'); |
|
28 | 1 | $this->setAttribute('class', 'form-control'); |
|
29 | 1 | $stringTrim = new FilterAdapterZf(new StringTrim()); |
|
30 | 1 | $stripTags = new FilterAdapterZf(new StripTags()); |
|
31 | 1 | $this->addFilter($stringTrim) |
|
32 | 1 | ->addFilter($stripTags); |
|
33 | } |
||
34 | } |