/**
  * @return string
  * @throws \RuntimeException
  */
 public function getContent()
 {
     $this->io->writeError('<info>Writing TYPO3_ACTIVE_FRAMEWORK_EXTENSIONS environment variable</info>', true, IOInterface::VERBOSE);
     $configuredActiveTypo3Extensions = $this->config->get('active-typo3-extensions');
     if (!is_array($configuredActiveTypo3Extensions)) {
         $this->io->writeError(sprintf('<error>Extra section "active-typo3-extensions" must be array, "%s" given!</error>', gettype($configuredActiveTypo3Extensions)));
         $configuredActiveTypo3Extensions = array();
     }
     if (count($configuredActiveTypo3Extensions) > 0) {
         $this->io->writeError('<warning>Extra section "active-typo3-extensions" has been deprecated!</warning>');
         $this->io->writeError('<warning>Please just add typo3/cms framework packages to the require section in your composer.json of any package.</warning>');
     }
     $activeTypo3Extensions = array_unique(array_merge($configuredActiveTypo3Extensions, $this->getRequiredCoreExtensionKeysFromPackageRequires()));
     asort($activeTypo3Extensions);
     $this->io->writeError('<info>The following extensions are marked as active:</info> ' . implode(', ', $activeTypo3Extensions), true, IOInterface::VERBOSE);
     return var_export(implode(',', $activeTypo3Extensions), true);
 }