| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class BrandMenuBuilderEvent extends MenuBuilderEvent |
||
| 13 | { |
||
| 14 | /** @var BrandInterface */ |
||
| 15 | private $brand; |
||
| 16 | |||
| 17 | public function __construct(FactoryInterface $factory, ItemInterface $menu, BrandInterface $brand) |
||
| 18 | { |
||
| 19 | parent::__construct($factory, $menu); |
||
| 20 | |||
| 21 | $this->brand = $brand; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getBrand(): BrandInterface |
||
| 27 | } |
||
| 28 | } |
||
| 29 |