Enlight_Event_EventManager
$eventManager = null,
?Shopware_Components_Snippet_Manager
$snippetManager = null,
?Shopware_Components_Config
$config = null,
?Enlight_Components_Session_Namespace
$session = null,
?Enlight_Controller_Front
$front = null,
?Shopware_Components_Modules
$moduleManager = null,
?sSystem
$systemModule = null,
?ContextServiceInterface
$contextService = null,
?AdditionalTextServiceInterface
$additionalTextService = null
) { $this->db =
$db ?:
Shopware()->
Db();
$this->eventManager =
$eventManager ?:
Shopware()->
Events();
$this->snippetManager =
$snippetManager ?:
Shopware()->
Snippets();
$this->config =
$config ?:
Shopware()->
Config();
$this->session =
$session ?:
Shopware()->
Session();
$this->front =
$front ?:
Shopware()->
Front();
$this->moduleManager =
$moduleManager ?:
Shopware()->
Modules();
$this->sSYSTEM =
$systemModule ?:
Shopware()->
System();
$this->contextService =
$contextService;
$this->additionalTextService =
$additionalTextService;
$this->connection =
Shopware()->
Container()->
get(Connection::
class);