[TASK] Consistently name methods and command "dumpClassLoadingInformation" 08/42108/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 29 Jul 2015 17:07:21 +0000 (19:07 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 29 Jul 2015 17:38:05 +0000 (19:38 +0200)
Releases: master
Resolves: #68633
Related: #68589
Change-Id: I98c41fc8536fe69e2a77f82d6189e671840920d0
Reviewed-on: http://review.typo3.org/42108
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/ClassLoadingInformation.php
typo3/sysext/core/Documentation/Changelog/master/Feature-68589-AddCLICommandToDumpClassLoadingInformation.rst
typo3/sysext/core/ext_localconf.php
typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php

index f9a692d..606818f 100644 (file)
@@ -411,7 +411,7 @@ class Bootstrap {
         */
        public function ensureClassLoadingInformationExists() {
                if (!self::$usesComposerClassLoading && !ClassLoadingInformation::classLoadingInformationExists()) {
-                       ClassLoadingInformation::writeClassLoadingInformation();
+                       ClassLoadingInformation::dumpClassLoadingInformation();
                        ClassLoadingInformation::registerClassLoadingInformation();
                }
                return $this;
index d1d8a4f..f205af3 100644 (file)
@@ -62,7 +62,7 @@ class ClassLoadingInformation {
        /**
         * Puts all information compiled by the ClassLoadingInformationGenerator to files
         */
-       static public function writeClassLoadingInformation() {
+       static public function dumpClassLoadingInformation() {
                self::ensureAutoloadInfoDirExists();
                /** @var ClassLoadingInformationGenerator  $generator */
                $generator = GeneralUtility::makeInstance(ClassLoadingInformationGenerator::class);
index 6a1c3ea..b41a7b2 100644 (file)
@@ -12,5 +12,5 @@ We now provide a CLI command which does that.
 Impact
 ======
 
-By executing ``typo3/cli_dispatch.phpsh extbase extension:updateclassloadinginformation`` on the command line,
+By executing ``typo3/cli_dispatch.phpsh extbase extension:dumpclassloadinginformation`` on the command line,
 the class loading information of all active extensions is updated.
index f9fd79d..33f78fd 100644 (file)
@@ -53,13 +53,13 @@ if (!\TYPO3\CMS\Core\Core\Bootstrap::usesComposerClassLoading()) {
                \TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::class,
                'hasInstalledExtensions',
                \TYPO3\CMS\Core\Core\ClassLoadingInformation::class,
-               'writeClassLoadingInformation'
+               'dumpClassLoadingInformation'
        );
        $signalSlotDispatcher->connect(
                \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
                'afterExtensionUninstall',
                \TYPO3\CMS\Core\Core\ClassLoadingInformation::class,
-               'writeClassLoadingInformation'
+               'dumpClassLoadingInformation'
        );
 }
 
index ce07ae2..e4551f6 100644 (file)
@@ -74,12 +74,12 @@ class ExtensionCommandController extends CommandController {
         *
         * @return void
         */
-       public function updateClassLoadingInformationCommand() {
+       public function dumpClassLoadingInformationCommand() {
                if (Bootstrap::usesComposerClassLoading()) {
                        $this->output->outputLine('<error>Class loading information is managed by composer. Use "composer dump-autoload" command to update the information.</error>');
                        $this->quit(1);
                } else {
-                       ClassLoadingInformation::writeClassLoadingInformation();
+                       ClassLoadingInformation::dumpClassLoadingInformation();
                        $this->output->outputLine('Class Loading information has been updated.');
                }
        }