Back to Joomla project (class list)

Class RouterServiceInterface - list of methods

The component router service.
Package: Joomla\CMS\Component\Router
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Component/Router/RouterServiceInterface.php
Project: Joomla

Method Summary

public \Joomla\CMS\Component\Router\RouterInterface
(\Joomla\CMS\Application\CMSApplicationInterface $application, \Joomla\CMS\Menu\AbstractMenu $menu)

Returns the router.
Parameters
  • \Joomla\CMS\Application\CMSApplicationInterface $application The application object
  • \Joomla\CMS\Menu\AbstractMenu $menu The menu object to work with
Returns
  • \Joomla\CMS\Component\Router\RouterInterface
Since
  • 4.0.0
Show source code of this method: createRouter Source Code

Tags Summary

Since
4.0.0