Component

Implements \Joomla\CMS\Extension\ComponentInterface

Access to component specific services.

since

4.0.0

Methods

__construct

Component constructor.

__construct(\Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface $dispatcherFactory) 
since

4.0.0

Arguments

$dispatcherFactory

\Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterfaceThe dispatcher factory

getDispatcher

Returns the dispatcher for the given application.

getDispatcher(\Joomla\CMS\Application\CMSApplicationInterface $application) : \Joomla\CMS\Dispatcher\DispatcherInterface
since

4.0.0

Arguments

$application

\Joomla\CMS\Application\CMSApplicationInterfaceThe application

Response

\Joomla\CMS\Dispatcher\DispatcherInterface

Properties

dispatcherFactory

The dispatcher factory.