public function apply() { if ($this->isApplied()) { return; } $versionManager = VersionManager::instance(); $versionManager->updatePlugin($this->pluginCodeObj->toCode(), $this->version); }