Component

Implements ComponentInterface

Access to component specific services.

since

4.0.0

package

Joomla CMS

Methods

__construct

Component constructor.

__construct(\Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface dispatcherFactory) : mixed
since

4.0.0

Arguments

dispatcherFactory

\Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterfaceThe dispatcher factory

Response

mixed

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.

since

4.0.0

Type(s)

\Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface