Laratrust\MakeSeederCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : void
return void
    public function fire()
    {
        $this->laravel->view->addNamespace('laratrust', substr(__DIR__, 0, -8) . 'views');
        if ($this->createSeeder()) {
            $this->info("Seeder successfully created!");
        } else {
            $this->error("Couldn't create seeder.\n" . "Check the write permissions within the database/seeds directory.");
        }
        $this->line('');
    }