| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Repeater extends TwillFormComponent |
||
| 6 | { |
||
| 7 | public $buttonAsLink; |
||
| 8 | public $type; |
||
| 9 | |||
| 10 | public function __construct( |
||
| 11 | $type, |
||
| 12 | $name = null, |
||
| 13 | $buttonAsLink = false, |
||
| 14 | $renderForBlocks = false, |
||
| 15 | $renderForModal = false |
||
| 16 | ) |
||
| 17 | { |
||
| 18 | parent::__construct($name ?? $type, $name, $renderForBlocks, $renderForModal); |
||
| 19 | |||
| 20 | $this->buttonAsLink = $buttonAsLink; |
||
| 21 | $this->type = $type; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function render() |
||
| 27 | } |
||
| 28 | } |
||
| 29 |