/** * Reloads the package information, if the package is already registered * * @param string $extensionKey * @throws \TYPO3\CMS\Core\Package\Exception\InvalidPackageStateException if the package isn't available * @throws \TYPO3\CMS\Core\Package\Exception\InvalidPackageKeyException if an invalid package key was passed * @throws \TYPO3\CMS\Core\Package\Exception\InvalidPackagePathException if an invalid package path was passed * @throws \TYPO3\CMS\Core\Package\Exception\InvalidPackageManifestException if no extension configuration file could be found */ public function reloadPackageInformation($extensionKey) { if ($this->packageManager->isPackageAvailable($extensionKey)) { $this->reloadOpcache(); $this->packageManager->reloadPackageInformation($extensionKey); } }