1 | <?php |
||
22 | class AttachmentFactory implements AttachmentFactoryInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var \Magento\Framework\ObjectManagerInterface |
||
26 | */ |
||
27 | private $objectManager; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * @param \Magento\Framework\ObjectManagerInterface $objectManager |
||
32 | */ |
||
33 | public function __construct(ObjectManagerInterface $objectManager) |
||
37 | |||
38 | |||
39 | /** |
||
40 | * @param array $data |
||
41 | * |
||
42 | * @return \LizardMedia\ProductAttachment\Api\Data\AttachmentInterface |
||
43 | */ |
||
44 | public function create(array $data = []) |
||
48 | } |
||
49 |