Back to Joomla project (class list)

Class RouterFactoryInterface - list of methods

Router factory interface
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/RouterFactoryInterface.php
Project: Joomla

Method Summary

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

Creates a router.
Parameters
  • \Joomla\CMS\Application\CMSApplicationInterface $application The application
  • \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