You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

43 lines
812 B

<?php
namespace App\Commands;
use Illuminate\Console\Scheduling\Schedule;
use LaravelZero\Framework\Commands\Command;
class SettingsMenuCommand extends Command
{
/**
* The signature of the command.
*
* @var string
*/
protected $signature = 'settings:menu';
/**
* The description of the command.
*
* @var string
*/
protected $description = 'Command description';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
// create menu
$builder = $this->menu('Settings')
->addSubMenu('Sources', [
'd',
'e'
]);
$builder->addLineBreak('-');
$mainmenu = $builder->build();
$mainmenu->open();
}
}