Skip to content

Commit 5d905a9

Browse files
author
MBriedis
committed
MockupExtraItem will include group and option group.
1 parent bb26c55 commit 5d905a9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Structures/Generator/MockupExtraItem.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ class MockupExtraItem extends BaseItem
2323
*/
2424
public $url;
2525

26+
/**
27+
* Mockup style
28+
*
29+
* @var string
30+
*/
31+
public $option;
32+
33+
/**
34+
* Mockup style group
35+
*
36+
* @var string
37+
*/
38+
public $optionGroup;
39+
2640
/**
2741
* @param array|string $raw
2842
* @return MockupExtraItem
@@ -33,6 +47,8 @@ public static function fromArray(array $raw)
3347

3448
$item->title = $raw['title'];
3549
$item->url = $raw['url'];
50+
$item->option = $raw['option'];
51+
$item->optionGroup = $raw['option_group'];
3652

3753
return $item;
3854
}

0 commit comments

Comments
 (0)