MenuFactoryInterface

Interface defining a factory which can create Menu objects

since

4.0.0

Methods

createMenu

Creates a new Menu object for the requested format.

createMenu(string $client, array $options = array()) : \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