src/JanusHercules/Shared/Presentation/Component/Header/NavigationListGroupTwigComponent.php line 14

Open in your IDE?
  1. <?php
  2. namespace JanusHercules\Shared\Presentation\Component\Header;
  3. use JanusHercules\Shared\Presentation\Entity\NavigationItem;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\UX\LiveComponent\Attribute\LiveProp;
  6. use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;
  7. #[AsTwigComponent(
  8. 'NavigationListGroup',
  9. '@janus_hercules.shared.presentation/header/navigation_list_group_twig_component.html.twig'
  10. )]
  11. class NavigationListGroupTwigComponent extends AbstractController
  12. {
  13. /** @var NavigationItem[] */
  14. #[LiveProp]
  15. public array $items;
  16. #[LiveProp]
  17. public bool $showDivider;
  18. }