[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Extension/ -> ComponentInterface.php (source)

   1  <?php
   2  
   3  /**
   4   * Joomla! Content Management System
   5   *
   6   * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
   7   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   8   */
   9  
  10  namespace Joomla\CMS\Extension;
  11  
  12  use Joomla\CMS\Application\CMSApplicationInterface;
  13  use Joomla\CMS\Dispatcher\DispatcherInterface;
  14  
  15  // phpcs:disable PSR1.Files.SideEffects
  16  \defined('JPATH_PLATFORM') or die;
  17  // phpcs:enable PSR1.Files.SideEffects
  18  
  19  /**
  20   * Access to component specific services.
  21   *
  22   * @since  4.0.0
  23   */
  24  interface ComponentInterface
  25  {
  26      /**
  27       * Returns the dispatcher for the given application.
  28       *
  29       * @param   CMSApplicationInterface  $application  The application
  30       *
  31       * @return  DispatcherInterface
  32       *
  33       * @since   4.0.0
  34       */
  35      public function getDispatcher(CMSApplicationInterface $application): DispatcherInterface;
  36  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer