RouterServiceTrait

Trait to implement AssociationServiceInterface

since

4.0.0

package

Application

Methods

createRouter

Returns the router.

createRouter(\Joomla\CMS\Application\CMSApplicationInterface application, \Joomla\CMS\Menu\AbstractMenu menu) : \Joomla\CMS\Component\Router\RouterInterface
since

4.0.0

Arguments

application

\Joomla\CMS\Application\CMSApplicationInterfaceThe application object

menu

\Joomla\CMS\Menu\AbstractMenuThe menu object to work with

Response

\Joomla\CMS\Component\Router\RouterInterface

setRouterFactory

The router factory.

setRouterFactory(\Joomla\CMS\Component\Router\RouterFactoryInterface routerFactory) : void
since

4.0.0

Arguments

routerFactory

\Joomla\CMS\Component\Router\RouterFactoryInterfaceThe router factory

Properties

routerFactory

The router factory.

since

4.0.0

Type(s)

RouterFactoryInterface