ComponentDispatcherFactory

Implements ComponentDispatcherFactoryInterface

Namespace based implementation of the ComponentDispatcherFactoryInterface

since

4.0.0

package

Application

Methods

__construct

ComponentDispatcherFactory constructor.

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

4.0.0

Arguments

namespace

stringThe namespace

mvcFactory

\Joomla\CMS\MVC\Factory\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

\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

since

4.0.0

Type(s)

MVCFactoryInterface