/** * Get the installed package version (from composer) and as fallback the version given by composer manifest. * * @return string * @api * TODO: Should be added to the interface in the next major Flow version (4.0) */ public function getInstalledVersion() { return PackageManager::getPackageVersion($this->composerName) ?: $this->getComposerManifest('version'); }
/** * Get the installed package version (from composer) * * @return string * @api * TODO: Should be added to the interface in the next major Flow version (4.0) */ public function getInstalledVersion() { return PackageManager::getPackageVersion($this->composerName); }