RouterServiceTrait

Trait to implement AssociationServiceInterface

since

4.0.0

package

Joomla CMS

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

CMSApplicationInterfaceThe application object

menu

AbstractMenuThe menu object to work with

Response

RouterInterface

setRouterFactory

The router factory.

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

4.0.0

Arguments

routerFactory

RouterFactoryInterfaceThe router factory

Response

void

Properties

routerFactory

The router factory.

since

4.0.0

Type(s)

RouterFactoryInterface