$domain =
$this->
setupDomain($input,
$output);
$context =
new LicenceRequest( '',
$version,
$domain,
$token );
try { $licences =
$this->container->
get(\Shopware\Bundle\PluginInstallerBundle\Service\PluginStoreService::
class) ->
getLicences($context);
} catch (Exception
$e) { $this->
handleError([ 'message' =>
$e->
getMessage(),
]);
return 0;
} $result = null;
/** @var LicenceStruct $licence */