CoreFiles by mySites.guru
RouterServiceInterface.php37 lines, 937 bytes, from Joomla_4.3.4-Stable-Full_Package.zip
Raw History Compare with 4.3.3
md5
25df6521b286027c4e0606257999690e
sha1
68454c581ace360323e0969f53e09ab081a28baa
sha256
d5afaf6c1cee1079ec691ee9f8490aa1eb98e79bc73ed2ca03203b474e1ba9d4
<?php

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

namespace Joomla\CMS\Component\Router;

use Joomla\CMS\Application\CMSApplicationInterface;
use Joomla\CMS\Menu\AbstractMenu;

// phpcs:disable PSR1.Files.SideEffects
\defined('JPATH_PLATFORM') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * The component router service.
 *
 * @since  4.0.0
 */
interface RouterServiceInterface
{
    /**
     * Returns the router.
     *
     * @param   CMSApplicationInterface  $application  The application object
     * @param   AbstractMenu             $menu         The menu object to work with
     *
     * @return  RouterInterface
     *
     * @since  4.0.0
     */
    public function createRouter(CMSApplicationInterface $application, AbstractMenu $menu): RouterInterface;
}

The same content is in 70 releases, Joomla 4.2.1 to 4.4.14. See them all, or every version of this file.