CoreFiles by mySites.guru
ModuleInterface.php39 lines, 1,131 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
db1c749839052f5b779b9b71a77543be
sha1
f81cd550ef1592d01f7fd9f339ca405bf9f2db7d
sha256
e4cf1a6179a7aaf5ef9e697cf15cfe45115e2db501c429fa4570fa1103351b8d
<?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\Extension;

use Joomla\CMS\Application\CMSApplicationInterface;
use Joomla\CMS\Dispatcher\DispatcherInterface;
use Joomla\Input\Input;

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

/**
 * Access to module specific services.
 *
 * @since  4.0.0
 */
interface ModuleInterface
{
    /**
     * Returns the dispatcher for the given application, module and input.
     *
     * @param   \stdClass                $module       The module
     * @param   CMSApplicationInterface  $application  The application
     * @param   Input                    $input        The input object, defaults to the one in the application
     *
     * @return  DispatcherInterface
     *
     * @since   4.0.0
     */
    public function getDispatcher(\stdClass $module, CMSApplicationInterface $application, Input $input = null): DispatcherInterface;
}

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