Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class ImplodeViewHelper extends AbstractViewHelper |
||
17 | { |
||
18 | public function initializeArguments() |
||
19 | { |
||
20 | parent::initializeArguments(); |
||
21 | $this->registerArgument('value', 'array', 'The array to be imploded', true); |
||
22 | $this->registerArgument('delimiter', 'string', 'The delimiter ', true); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Checks if a value exists in an array. |
||
27 | * |
||
28 | * @return string |
||
29 | */ |
||
30 | public function render() |
||
36 | } |
||
37 | } |
||
38 |