protected function selectProfile(SymfonyStyle
$io) { $profiles =
$this->
getProfiles();
// If there is a distribution there will be only one profile.
if (count($profiles) == 1
) { return key($profiles);
} // Display alphabetically by human-readable name, but always put the core
// profiles first (if they are present in the filesystem).
natcasesort($profiles);
if (isset($profiles['minimal'
])) { // If the expert ("Minimal") core profile is present, put it in front of
// any non-core profiles rather than including it with them