ComponentDispatcherFactory

Implements \Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface

Namespace based implementation of the ComponentDispatcherFactoryInterface

since

4.0.0

Methods

__construct

ComponentDispatcherFactory constructor.

__construct(string $namespace, \Joomla\CMS\MVC\Factory\MVCFactoryInterface $mvcFactory) 
since

4.0.0

Arguments

$namespace

stringThe namespace

$mvcFactory

\Joomla\CMS\MVC\Factory\MVCFactoryInterfaceThe MVC factory

createDispatcher

Creates a dispatcher.

createDispatcher(\Joomla\CMS\Application\CMSApplicationInterface $application, \Joomla\Input\Input $input = null) : \Joomla\CMS\Dispatcher\DispatcherInterface
since

4.0.0

Arguments

$application

\Joomla\CMS\Application\CMSApplicationInterfaceThe application

$input

\Joomla\Input\InputThe input object, defaults to the one in the application

Response

\Joomla\CMS\Dispatcher\DispatcherInterface

Properties

namespace

The extension namespace

since

4.0.0

Type(s)

string

mvcFactory

The MVC factory