Since: 4.0.0

interface MenuFactoryInterface

Interface defining a factory which can create Menu objects

Methods

createMenu(string $client, array $options = [])

Creates a new Menu object for the requested format.

Details

AbstractMenu createMenu(string $client, array $options = [])

Since: 4.0.0

Creates a new Menu object for the requested format.

Parameters

string $client

The name of the client

array $options

An associative array of options

Return Value

AbstractMenu