| Total Complexity | 6 | 
| Total Lines | 62 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 6 | class Checkboxes extends Options  | 
            ||
| 7 | { | 
            ||
| 8 | /**  | 
            ||
| 9 | * Block type.  | 
            ||
| 10 | *  | 
            ||
| 11 | * @var string  | 
            ||
| 12 | */  | 
            ||
| 13 | protected $type = 'checkboxes';  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * Internal attribute to property map.  | 
            ||
| 17 | *  | 
            ||
| 18 | * @var array  | 
            ||
| 19 | */  | 
            ||
| 20 | protected static $availableAttributes = [  | 
            ||
| 21 | 'action_id' => 'action_id',  | 
            ||
| 22 | 'options' => 'options',  | 
            ||
| 23 | 'confirm' => 'confirm',  | 
            ||
| 24 | ];  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Get the intially selected options.  | 
            ||
| 28 | *  | 
            ||
| 29 | * @return \Maknz\Slack\CompositionObject\Option[]  | 
            ||
| 30 | */  | 
            ||
| 31 | 1 | public function getInitialOptions()  | 
            |
| 35 | 1 | }));  | 
            |
| 36 | }  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * Convert the block to its array representation.  | 
            ||
| 40 | *  | 
            ||
| 41 | * @return array  | 
            ||
| 42 | */  | 
            ||
| 43 | 1 | public function toArray()  | 
            |
| 70 |