Total Complexity | 6 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | class Map extends Widget |
||
17 | { |
||
18 | /** @var bool */ |
||
19 | public $status = true; |
||
20 | /** @var array */ |
||
21 | public $containerOptions = []; |
||
22 | /** @var array */ |
||
23 | public $clientOptions = []; |
||
24 | |||
25 | /** |
||
26 | * @inheritDoc |
||
27 | */ |
||
28 | public function init() |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Run |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function run() |
||
44 | { |
||
45 | return Html::tag('div', '', $this->containerOptions); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Client Options |
||
50 | * |
||
51 | * @return array |
||
52 | */ |
||
53 | public function getClientOptions() |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * Register Asset |
||
63 | */ |
||
64 | public function registerAsset() |
||
76 |