$content =
$this->storeClient->
doAuthGetRequest( $context->
getToken(),
'/licenses',
[ 'shopwareVersion' =>
$context->
getShopwareVersion(),
'domain' =>
$context->
getDomain(),
'pluginName' =>
$context->
getTechnicalName(),
] );
$licence =
$this->hydrator->
hydrateLicences($content);
return array_shift($licence);
} /**
* @throws Exception
*
* @return array
*/
public function getLicences( LicenceRequest
$context )