src/Theme/Commands/ThemeListCommand.php
public function handle()
    {
        $themes = $this->laravel['theme']->all();
        $headers = ['Name', 'Author', 'Directory'];

        $output = [];
        foreach ($themes as $theme) {
            $output[] = [
                'Name' => $theme->getName(),
                'Author' => $theme->getAuthor(),
                'Directory' => $theme->getDirectory(),
            ];
        }

        $this->table($headers, $output);
    }
public function handle()
    {
        $themes = $this->laravel['theme']->all();
        $headers = ['Name', 'Author', 'Directory'];

        $output = [];
        foreach ($themes as $theme) {
            $output[] = [
                'Name' => $theme->getName(),
                'Author' => $theme->getAuthor(),
                'Directory' => $theme->getDirectory(),
            ];
        }

        $this->table($headers, $output);
    }
public function handle ( ) { $ themes = $ this -> laravel [ 'theme' ] -> all ( ) ; $ headers = [ 'Name' , 'Author' , 'Directory' ] ; $ output = [ ] ; foreach ( $ themes as $ theme ) { $ output [ ] = [ 'Name' => $ theme -> getName ( ) , 'Author' => $ theme -> getAuthor ( ) , 'Directory' => $ theme -> getDirectory ( ) , ] ; } $ this -> table ( $ headers , $ output ) ; }
Execute the console command.

@return mixed
Execute the console command .