Back to Joomla project (class list)

Class MenuFactory - list of methods

Default factory for creating Menu objects

Extends

Package: Joomla\CMS\Menu
Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Menu/MenuFactory.php
Project: Joomla

Method Summary

public \Joomla\CMS\Menu\AbstractMenu
(string $client, array $options = [])

Creates a new Menu object for the requested format.
Parameters
  • string $client The name of the client
  • array $options An associative array of options
Returns
  • \Joomla\CMS\Menu\AbstractMenu
Since
  • 4.0.0
-
  • \InvalidArgumentException
Show source code of this method: createMenu Source Code

Tags Summary

Since
4.0.0