ModuleDispatcherFactory

Implements \Joomla\CMS\Dispatcher\ModuleDispatcherFactoryInterface

Namespace based implementation of the ModuleDispatcherFactoryInterface

since

4.0.0

Methods

__construct

ModuleDispatcherFactory constructor.

__construct(string $namespace) 
since

4.0.0

Arguments

$namespace

stringThe namespace

createDispatcher

Creates a dispatcher.

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

4.0.0

Arguments

$module

\stdClassThe module

$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