Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class BlockUnserializer |
||
13 | { |
||
14 | /** |
||
15 | * @var ThemeUnserializerInterface |
||
16 | */ |
||
17 | private $themeUnserializer; |
||
18 | |||
19 | public function __construct(ThemeUnserializerInterface $themeUnserializer) |
||
20 | { |
||
21 | $this->themeUnserializer = $themeUnserializer; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param mixed[] $arr |
||
26 | * @return Block |
||
27 | */ |
||
28 | public function createFromArray(array $arr): Block |
||
37 | } |
||
38 | } |
||
40 | } |