Karlomikus\Theme\Commands\ThemeMakeCommand::handle PHP Метод

handle() публичный Метод

Execute the console command.
public handle ( ) : mixed
Результат mixed
    public function handle()
    {
        $themeNamespace = $this->argument('namespace');
        $themeNamespace = strtolower($themeNamespace);
        $this->themeNamespace = $themeNamespace;
        $name = $this->ask('Template name');
        $author = $this->ask('Template author');
        $this->makeThemeFolder();
        $this->makeThemeConfig($name, $author);
        $this->info('Theme created succesfully!');
    }