| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function addAccountMenuItems(MenuBuilderEvent $event): void |
||
| 12 | { |
||
| 13 | $menu = $event->getMenu(); |
||
| 14 | |||
| 15 | $menu |
||
| 16 | ->addChild('affiliates_program', [ |
||
| 17 | 'route' => 'odiseo_sylius_referrals_plugin_shop_account_affiliate_referral_index', |
||
| 18 | ]) |
||
| 19 | ->setLabel('odiseo_sylius_referrals_plugin.ui.affiliates_program') |
||
| 20 | ->setLabelAttribute('icon', 'bullhorn') |
||
| 21 | ; |
||
| 24 |