Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setLicenceShopId example
$data
)
;
$basket
=
$this
->hydrator->
hydrateBasket
(
$response
)
;
$basket
->
setLicenceDomain
(
$context
->
getLicenceShop
(
)
)
;
foreach
(
$basket
->
getDomains
(
)
as
$domain
)
{
if
(
$domain
->
getDomain
(
)
!==
$context
->
getLicenceShop
(
)
)
{
continue
;
}
$basket
->
setLicenceShopId
(
$domain
->
getId
(
)
)
;
}
return
$basket
;
}
/** * @throws Exception * * @return bool */
public
function
orderPlugin
(