MenuFactory

Implements \Joomla\CMS\Menu\MenuFactoryInterface

Default factory for creating 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

throws

\InvalidArgumentException

Arguments

$client

stringThe name of the client

$options

arrayAn associative array of options

Response

\Joomla\CMS\Menu\AbstractMenu