| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class BrandFormMenuBuilder |
||
| 14 | { |
||
| 15 | public const EVENT_NAME = 'loevgaard_sylius_brand.menu.admin.brand.form'; |
||
| 16 | |||
| 17 | /** @var FactoryInterface */ |
||
| 18 | private $factory; |
||
| 19 | |||
| 20 | /** @var EventDispatcherInterface */ |
||
| 21 | private $eventDispatcher; |
||
| 22 | |||
| 23 | public function __construct(FactoryInterface $factory, EventDispatcherInterface $eventDispatcher) |
||
| 24 | { |
||
| 25 | $this->factory = $factory; |
||
| 26 | $this->eventDispatcher = $eventDispatcher; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function createMenu(array $options = []): ItemInterface |
||
| 56 | } |
||
| 57 | } |
||
| 58 |