CoreFiles by mySites.guru
MenuFactoryInterface.php31 lines, 722 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
858ff565d1039b5cb33e951a9153a71e
sha1
f9c3f806d5176c99da648ac9d878fe31d8a56cd5
sha256
94ac485f53a4a75dc8ec9df712e6e0e527c2dd4eb51d1b2136221b59cf106d64
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Menu;

\defined('_JEXEC') or die;

/**
 * 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.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.