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