Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getUpdateSource example
if
(
$storeExtension
->
getShortDescription
(
)
)
{
$localExtension
->
setShortDescription
(
$storeExtension
->
getShortDescription
(
)
)
;
}
$localExtension
->
setIcon
(
$storeExtension
->
getIcon
(
)
)
;
$localExtension
->
setLabel
(
$storeExtension
->
getLabel
(
)
)
;
if
(
$storeExtension
->
getLatestVersion
(
)
)
{
$localExtension
->
setLatestVersion
(
$storeExtension
->
getLatestVersion
(
)
)
;
$localExtension
->
setUpdateSource
(
$storeExtension
->
getUpdateSource
(
)
)
;
}
continue
;
}
$localCollection
->
set
(
$storeExtension
->
getName
(
)
,
$storeExtension
)
;
}
}
private
function
sortCollection
(
ExtensionCollection
$collection
)
: ExtensionCollection
{