Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
5 | class Select extends InputGroupComponent |
||
6 | { |
||
7 | use Traits\OldValueSupportTrait; |
||
8 | |||
9 | /** |
||
10 | * Create a new component instance. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | 3 | public function __construct( |
|
15 | $name, $id = null, $label = null, $igroupSize = null, $labelClass = null, |
||
16 | $fgroupClass = null, $igroupClass = null, $disableFeedback = null, |
||
17 | $errorKey = null, $enableOldSupport = null |
||
18 | ) { |
||
19 | 3 | parent::__construct( |
|
20 | 3 | $name, $id, $label, $igroupSize, $labelClass, $fgroupClass, |
|
21 | 3 | $igroupClass, $disableFeedback, $errorKey |
|
22 | 3 | ); |
|
23 | |||
24 | 3 | $this->enableOldSupport = isset($enableOldSupport); |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Get the view / contents that represent the component. |
||
29 | * |
||
30 | * @return \Illuminate\View\View|string |
||
31 | */ |
||
32 | 1 | public function render() |
|
35 | } |
||
36 | } |
||
37 |