[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Component/Router/ -> RouterFactory.php (summary)

Joomla! Content Management System

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 91 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RouterFactory:: (2 methods):
  __construct()
  createRouter()


Class: RouterFactory  - X-Ref

Default router factory.

__construct($namespace, CategoryFactoryInterface $categoryFactory = null, DatabaseInterface $db = null)   X-Ref
The namespace must be like:
Joomla\Component\Content

param: string                    $namespace        The namespace
param: CategoryFactoryInterface  $categoryFactory  The category object
param: DatabaseInterface         $db               The database object

createRouter(CMSApplicationInterface $application, AbstractMenu $menu)   X-Ref
Creates a router.

param: CMSApplicationInterface  $application  The application
param: AbstractMenu             $menu         The menu object to work with
return: RouterInterface



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer