addDescription( 'Get all messages as defined by the English language file' ); } public function execute() { $localisationCache = $this->getServiceContainer()->getLocalisationCache(); $englishMessages = $localisationCache->getItem( 'en', 'messages' ); foreach ( $englishMessages as $key => $_ ) { $this->output( "$key\n" ); } } } // @codeCoverageIgnoreStart $maintClass = AllTrans::class; require_once RUN_MAINTENANCE_IF_MAIN; // @codeCoverageIgnoreEnd