src/Console/Command.php
public function generate()
    {
        foreach ($this->commandList as $key => $value) {
            $this->app->add(new $value);
        }

        foreach ($this->migrationCommands as $command) {
            $newCommand = new $command;
            $newCommand->setName("migration:" . $newCommand->getName());
            $this->app->add($newCommand);
        }
    }
public function generate()
    {
        foreach ($this->commandList as $key => $value) {
            $this->app->add(new $value);
        }

        foreach ($this->migrationCommands as $command) {
            $newCommand = new $command;
            $newCommand->setName("migration:" . $newCommand->getName());
            $this->app->add($newCommand);
        }
    }
public function generate ( ) { foreach ( $ this -> commandList as $ key => $ value ) { $ this -> app -> add ( new $ value ) ; } foreach ( $ this -> migrationCommands as $ command ) { $ newCommand = new $ command ; $ newCommand -> setName ( "migration:" . $ newCommand -> getName ( ) ) ; $ this -> app -> add ( $ newCommand ) ; } }
Genereta all Command class.

@return void
Genereta all Command class .