Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class Submit extends Component |
||
8 | { |
||
9 | public $type; |
||
10 | public $label; |
||
11 | public $icon; |
||
12 | public $topclass; |
||
13 | public $inputclass; |
||
14 | |||
15 | 1 | public function __construct( |
|
16 | $type = 'primary', $label = 'Submit', $icon = 'fas fa-save', |
||
17 | $topclass = 'text-center', $inputclass = null) |
||
18 | { |
||
19 | 1 | $this->type = $type; |
|
20 | 1 | $this->icon = $icon; |
|
21 | 1 | $this->topclass = $topclass; |
|
22 | 1 | $this->inputclass = $inputclass; |
|
23 | 1 | $this->label = $label; |
|
24 | 1 | } |
|
25 | |||
26 | 1 | public function render() |
|
29 | } |
||
30 | } |
||
31 |