class TranslationsChecker (View source)

Properties

protected Application $app
protected FactoryInterface $localFactory
protected ProviderInterface $remoteProvider

Methods

__construct(Application $app, FactoryInterface $localFactory, ProviderInterface $remoteProvider)

No description

getPackagesTranslations(bool $onlyInstalled = false)

No description

computeUpdates(array $localStats, array $remoteStats, Package $package = null)

No description

Details

__construct(Application $app, FactoryInterface $localFactory, ProviderInterface $remoteProvider)

No description

Parameters

Application $app
FactoryInterface $localFactory
ProviderInterface $remoteProvider

LocaleStatus getCoreTranslations()

No description

Return Value

LocaleStatus

PackageLocaleStatus[] getPackagesTranslations(bool $onlyInstalled = false)

No description

Parameters

bool $onlyInstalled

Return Value

PackageLocaleStatus[]

PackageLocaleStatus getPackageTranslations(Package $package)

No description

Parameters

Package $package

Return Value

PackageLocaleStatus

private PackageLocaleStatus|LocaleStatus computeUpdates(array $localStats, array $remoteStats, Package $package = null)

No description

Parameters

array $localStats
array $remoteStats
Package $package

Return Value

PackageLocaleStatus|LocaleStatus