CoreFiles by mySites.guru
MenuFactoryInterface.php30 lines, 715 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
da3120b33ebf5db63dd2b5beb034ffee
sha1
c6bb676923ebb6be3b118b739d1cab97346a4182
sha256
681d9584a98485c6c71748c5fc6c488b7a863d71b6b74c20cf0b86331db79af4
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Menu;

/**
 * Interface defining a factory which can create Menu objects
 *
 * @since  4.0.0
 */
interface MenuFactoryInterface
{
    /**
     * Creates a new Menu object for the requested format.
     *
     * @param   string  $client   The name of the client
     * @param   array   $options  An associative array of options
     *
     * @return  AbstractMenu
     *
     * @since   4.0.0
     */
    public function createMenu(string $client, array $options = []): AbstractMenu;
}

The same content is in 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.