ComponentDispatcherFactory

Implements ComponentDispatcherFactoryInterface

Namespace based implementation of the ComponentDispatcherFactoryInterface

since

4.0.0

package

Joomla CMS

Methods

__construct

ComponentDispatcherFactory constructor.

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

4.0.0

Arguments

namespace

stringThe namespace

mvcFactory

MVCFactoryInterfaceThe MVC factory

Response

mixed

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

CMSApplicationInterfaceThe application

input

InputThe input object, defaults to the one in the application

Response

DispatcherInterface

Properties

namespace

The extension namespace

since

4.0.0

Type(s)

string

mvcFactory

The MVC factory

since

4.0.0

Type(s)

MVCFactoryInterface