'LicenseHostException',
'LicenseInvalidException',
'LicenseProductKeyException',
];
/**
* Expects a request parameter 'licenseString' containing a shopware core license key string.
* Will validate and, if successful, enter the license information into the database.
*/
public function checkLicenseAction() { $licenseString =
trim($this->
Request()->
getPost('licenseString'
));
if (empty($licenseString)) { $this->
View()->
assign([ 'success' => false,
'message' => 'Empty license information cannot be validated.',
]);
return;
} try {