sSystem
$systemModule = null,
?Enlight_Template_Manager
$template = null,
?Shopware_Components_Modules
$moduleManager = null,
?SlugInterface
$slug = null,
?ContextServiceInterface
$contextService = null,
?ShopPageServiceInterface
$shopPageService = null,
?Shopware_Components_Translation
$translationComponent = null
) { $this->db =
$db ?:
Shopware()->
Db();
$this->config =
$config ?:
Shopware()->
Config();
$this->modelManager =
$modelManager ?:
Shopware()->
Models();
$this->sSYSTEM =
$systemModule ?:
Shopware()->
System();
$this->template =
$template ?:
Shopware()->
Template();
$this->moduleManager =
$moduleManager ?:
Shopware()->
Modules();
$this->slug =
$slug ?:
Shopware()->
Container()->
get('shopware.slug'
);
$this->contextService =
$contextService ?:
Shopware()->
Container()->
get(ContextServiceInterface::
class);
$this->shopPageService =
$shopPageService ?:
Shopware()->
Container() ->
get('shopware_storefront.shop_page_service'
);
$this->translationComponent =
$translationComponent ?:
Shopware()->
Container()->
get(Shopware_Components_Translation::
class);
} /**
* Getter function for retrieving last ID from sCreateRewriteTableArticles()
*
* @return string|null
*/