CoreFiles by mySites.guru
RouterFactoryInterface.php37 lines, 916 bytes, from Joomla_5.1.4-Stable-Full_Package.zip
Raw History Compare with 5.1.3
md5
f4c9ea0a8e4b5c5cf913e8526f098b26
sha1
bc938f6e8cab0a83a0990db63a8384f18ea9cb1e
sha256
a60a686fde404bdf70c3b5ac1b3dc7d03fa3e871ee99d85ddfc8c7d609824ecf
<?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('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Router factory interface
 *
 * @since  4.0.0
 */
interface RouterFactoryInterface
{
    /**
     * Creates a router.
     *
     * @param   CMSApplicationInterface  $application  The application
     * @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 225 releases, Joomla 4.2.1 to 6.2.1-rc1. See them all, or every version of this file.