MenuFactoryInterface

Interface defining a factory which can create Menu objects

since

4.0.0

package

Application

Methods

createMenu

Creates a new Menu object for the requested format.

createMenu(string client, array options = []) : \Joomla\CMS\Menu\AbstractMenu
since

4.0.0

Arguments

client

stringThe name of the client

options

arrayAn associative array of options

Response

\Joomla\CMS\Menu\AbstractMenu