| Total Complexity | 3 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | class Image extends Block  | 
            ||
| 8 | { | 
            ||
| 9 | use ImageTrait;  | 
            ||
| 10 | |||
| 11 | /**  | 
            ||
| 12 | * Block type.  | 
            ||
| 13 | *  | 
            ||
| 14 | * @var string  | 
            ||
| 15 | */  | 
            ||
| 16 | protected $type = 'image';  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * Internal attribute to property map.  | 
            ||
| 20 | *  | 
            ||
| 21 | * @var array  | 
            ||
| 22 | */  | 
            ||
| 23 | protected static $availableAttributes = [  | 
            ||
| 24 | 'image_url' => 'url',  | 
            ||
| 25 | 'alt_text' => 'alt_text',  | 
            ||
| 26 | 'title' => 'title',  | 
            ||
| 27 | 'block_id' => 'block_id',  | 
            ||
| 28 | ];  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * Convert the block to its array representation.  | 
            ||
| 32 | *  | 
            ||
| 33 | * @return array  | 
            ||
| 34 | */  | 
            ||
| 35 | 1 | public function toArray()  | 
            |
| 54 |