Skip to content

Commit 2a0f9e0

Browse files
committed
Add common interface
1 parent d40b4ed commit 2a0f9e0

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Form/ItemConvertorInterface.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
declare(strict_types=1);
3+
4+
namespace Loki\AdminComponents\Form;
5+
6+
use Magento\Framework\DataObject;
7+
use Magento\Framework\View\Element\Block\ArgumentInterface;
8+
9+
interface ItemConvertorInterface extends ArgumentInterface
10+
{
11+
public function afterLoad(DataObject $item): DataObject;
12+
public function beforeSave(DataObject $item): DataObject;
13+
}

0 commit comments

Comments
 (0)