1 | <?php |
||
9 | final class CustomBlockFactory implements FactoryInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var FactoryInterface |
||
13 | */ |
||
14 | private $decoratedFactory; |
||
15 | |||
16 | /** |
||
17 | * @var ObjectManager |
||
18 | */ |
||
19 | private $documentManager; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $customBlockParentPath; |
||
25 | |||
26 | /** |
||
27 | * @param FactoryInterface $decoratedFactory |
||
28 | * @param ObjectManager $documentManager |
||
29 | * @param string $customBlockParentPath |
||
30 | */ |
||
31 | public function __construct(FactoryInterface $decoratedFactory, ObjectManager $documentManager, $customBlockParentPath) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function createNew() |
||
49 | } |
||
50 |