Back to Joomla project (class list)

Class Component - list of methods

Access to component specific services.

Extends

Direct known subclasses

Package: Joomla\CMS\Extension
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Extension/Component.php
Project: Joomla

Method Summary

public
(\Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface $dispatcherFactory)

Component constructor.
Parameters
  • \Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface $dispatcherFactory The dispatcher factory
Since
  • 4.0.0
Show source code of this method: __construct Source Code

public \Joomla\CMS\Dispatcher\DispatcherInterface
(\Joomla\CMS\Application\CMSApplicationInterface $application)

Returns the dispatcher for the given application.
Parameters
  • \Joomla\CMS\Application\CMSApplicationInterface $application The application
Returns
  • \Joomla\CMS\Dispatcher\DispatcherInterface
Since
  • 4.0.0
Show source code of this method: getDispatcher Source Code

Properties Summary

private \Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface
$dispatcherFactory
The dispatcher factory.
Since
  • 4.0.0

Tags Summary

Since
4.0.0