public function fire() {
    $name = $this->input->getArgument('name');

    $this->writeMigration($name);

    $this->writeModel($name);

  }
public function fire() {
    $name = $this->input->getArgument('name');

    $this->writeMigration($name);

    $this->writeModel($name);

  }
public function fire ( ) { $ name = $ this -> input -> getArgument ( 'name' ) ; $ this -> writeMigration ( $ name ) ; $ this -> writeModel ( $ name ) ; }
Execute the console command.

Basically, we'll write the migration and model stubs out to disk inflected
with the name provided. Once its done, we'll `dump-autoload` for the entire
framework to make sure that the new classes are registered by the class
loaders.

@return void
Execute the console command .