|
@ -18,6 +18,12 @@ use PhpSchool\CliMenu\Style\SelectableStyle; |
|
|
use Log; |
|
|
use Log; |
|
|
use Closure; |
|
|
use Closure; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* |
|
|
|
|
|
* |
|
|
|
|
|
* |
|
|
|
|
|
* |
|
|
|
|
|
*/ |
|
|
class NginxVhostsCommand extends Command |
|
|
class NginxVhostsCommand extends Command |
|
|
{ |
|
|
{ |
|
|
// path templates
|
|
|
// path templates
|
|
@ -106,11 +112,12 @@ class NginxVhostsCommand extends Command |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
* create Configuration, add for each template a submenu |
|
|
* |
|
|
* |
|
|
* |
|
|
* |
|
|
* @param [type] $template [description] |
|
|
|
|
|
* @param [type] $blade [description] |
|
|
|
|
|
* @return [type] [description] |
|
|
|
|
|
|
|
|
* @param array $template |
|
|
|
|
|
* @param Blade $blade |
|
|
|
|
|
* @return CliMenuBuilder |
|
|
*/ |
|
|
*/ |
|
|
private function createConfiguration($template, $blade) |
|
|
private function createConfiguration($template, $blade) |
|
|
{ |
|
|
{ |
|
|