Total Complexity | 2 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
4 | class Overflow extends Options |
||
5 | { |
||
6 | /** |
||
7 | * Block type. |
||
8 | * |
||
9 | * @var string |
||
10 | */ |
||
11 | protected $type = 'overflow'; |
||
12 | |||
13 | /** |
||
14 | * Internal attribute to property map. |
||
15 | * |
||
16 | * @var array |
||
17 | */ |
||
18 | protected static $availableAttributes = [ |
||
19 | 'action_id' => 'action_id', |
||
20 | 'options' => 'options', |
||
21 | 'confirm' => 'confirm', |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * Convert the block to its array representation. |
||
26 | * |
||
27 | * @return array |
||
28 | */ |
||
29 | 1 | public function toArray() |
|
44 |