mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Add PHP Version to the isolated command
This commit is contained in:
@@ -255,7 +255,7 @@ public function isolatedDirectories()
|
||||
return $configuredSites->filter(function ($item) {
|
||||
return strpos($this->files->get(VALET_HOME_PATH.'/Nginx/'.$item), 'Valet isolated PHP version') !== false;
|
||||
})->map(function ($item) {
|
||||
return ['url' => $item];
|
||||
return ['url' => $item, 'version' => $this->normalizePhpVersion($this->site->customPhpVersion($item))];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -547,7 +547,7 @@
|
||||
$app->command('isolated', function () {
|
||||
$sites = PhpFpm::isolatedDirectories();
|
||||
|
||||
table(['Path'], $sites->all());
|
||||
table(['Path', 'PHP Version'], $sites->all());
|
||||
})->descriptions('List all sites using isolated versions of PHP.');
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user