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: 2025-03-01 00:23:35 UTC
README
Bundle provides Symfony 5
integration into mmi-mmi package
- Router
- Routes as before are using
\Mmi\Mvc\RouterConfig
as main route definition class - In order to get routes loaded, the result object needs to be registered as
tagged service
with tagmmi.route
used, check MmiRouterCompilerPass
- Routes as before are using
- Navigation
- In order to attach navigation into root navigation, create
event listener / subscriber
and subscribe toNowaEra\MmiBundle\Event\MmiNavigationEvent
which 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