nowaera / mmi-bundle
There is no license information available for the latest version (dev-master) of this package.
dev-master
2020-01-29 12:07 UTC
Requires
- mmi/mmi: dev-master@dev
- symfony/config: ^5.0
- symfony/dependency-injection: ^5.0
- symfony/http-kernel: ^5.0
- symfony/yaml: ^5.0
This package is auto-updated.
Last update: 2026-03-01 00:30:22 UTC
README
Bundle provides Symfony 5 integration into mmi-mmi package
- Router
- Routes as before are using
\Mmi\Mvc\RouterConfigas main route definition class - In order to get routes loaded, the result object needs to be registered as
tagged servicewith tagmmi.routeused, check MmiRouterCompilerPass
- Routes as before are using
- Navigation
- In order to attach navigation into root navigation, create
event listener / subscriberand subscribe toNowaEra\MmiBundle\Event\MmiNavigationEventwhich containsrootNavigation(->getRootNavigation(): NavigationConfig) and attach your custom navigation - Mange priority of navigation by setting up
tag's priority
- In order to attach navigation into root navigation, create
Tags:
mmi.route-\Mmi\Mvc\RouterConfig
Events:
NowaEra\MmiBundle\Event\MmiNavigationEvent- it's payload contains root navigation which may be extended by other navigation items