MenuFactoryInterface

Interface defining a factory which can create Menu objects

since

4.0.0

package

Joomla CMS

Methods

createMenu

Creates a new Menu object for the requested format.

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

4.0.0

Arguments

client

stringThe name of the client

options

array<string|int, mixed>An associative array of options

Response

AbstractMenu