RouterFactoryInterface

Router factory interface

since

4.0.0

Methods

createRouter

Creates a 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

$menu

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

Response

\Joomla\CMS\Component\Router\RouterInterface