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