Base class for a Joomla API Controller Controller (controllers are where you put all the actual code) Provides basic
functionality, such as rendering views (aka displaying templates).
array$config An optional associative array of configuration settings.
Recognized key values include 'name', 'default_task', 'model_path', and
'view_path' (this list is not meant to be comprehensive).
\Joomla\CMS\MVC\Factory\MVCFactoryInterface $factory The factory.
\Joomla\CMS\Application\CMSApplication $app The Application for the dispatcher