Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
handleLicenceInstall example
break
;
case
$isDummy
:
$this
->
handleDummyInstall
(
$plugin
,
$domain
,
$version
)
;
break
;
case
$plugin
->
getId
(
)
:
$this
->
handleLicenceUpdate
(
$plugin
,
$domain
,
$version
,
$token
)
;
break
;
default
:
$this
->
handleLicenceInstall
(
$plugin
,
$domain
,
$version
,
$token
)
;
break
;
}
}
catch
(
Exception
$e
)
{
$io
->
error
(
'An error occured: ' .
$e
->
getMessage
(
)
)
;
exit
(
1
)
;
}
try
{
$this
->
clearOpcodeCache
(
)
;
$this
->container->
get
(
InstallerService::
class
)
->
refreshPluginList
(
)
;