| Total Complexity | 4 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | abstract class AbstractItemActionsMenuPreConfigurationEvent |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var FactoryInterface. |
||
|
|
|||
| 27 | */ |
||
| 28 | protected $factory; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var ItemInterface |
||
| 32 | */ |
||
| 33 | protected $menu; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var array |
||
| 37 | */ |
||
| 38 | protected $options; |
||
| 39 | |||
| 40 | public function __construct( |
||
| 41 | FactoryInterface $factory, |
||
| 42 | ItemInterface $menu, |
||
| 43 | array $options = [] |
||
| 44 | ) { |
||
| 45 | $this->factory = $factory; |
||
| 46 | $this->menu = $menu; |
||
| 47 | $this->options = $options; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return FactoryInterface |
||
| 52 | */ |
||
| 53 | public function getFactory(): FactoryInterface |
||
| 54 | { |
||
| 55 | return $this->factory; |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return ItemInterface |
||
| 60 | */ |
||
| 61 | public function getMenu(): ItemInterface |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return array |
||
| 68 | */ |
||
| 69 | public function getOptions(): array |
||
| 74 |