/**
* @deprecated in 5.6, will be removed in 5.7 without a replacement
*
* @return LicenceStruct
*/
public function getPluginLicence(PluginLicenceRequest
$context) { trigger_error(sprintf('%s:%s is deprecated since Shopware 5.6 and will be removed with 5.7. Will be removed without replacement.', __CLASS__, __METHOD__
), E_USER_DEPRECATED
);
$content =
$this->storeClient->
doAuthGetRequest( $context->
getToken(),
'/licenses',
[ 'shopwareVersion' =>
$context->
getShopwareVersion(),
'domain' =>
$context->
getDomain(),
'pluginName' =>
$context->
getTechnicalName(),
] );
$licence =
$this->hydrator->
hydrateLicences($content);