diff src/Generator/Controller/ControllerGenerator.php @ 5:b0b2e79ad8e6

Not exatly sure what was changed but commiting to it :)
author luka
date Thu, 12 Oct 2023 19:41:04 -0400
parents a20439b1c9d3
children 769a17898cc0
line wrap: on
line diff
--- a/src/Generator/Controller/ControllerGenerator.php	Tue Jun 27 20:16:55 2023 -0400
+++ b/src/Generator/Controller/ControllerGenerator.php	Thu Oct 12 19:41:04 2023 -0400
@@ -4,7 +4,6 @@
 
 use Symfony\Component\Console\Attribute\AsCommand;
 use Wizzard\MagicForger\Generator\BaseGenerator;
-use Wizzard\MagicForger\Replacer;
 use Illuminate\Support\Str;
 
 #[AsCommand(name: 'mf:controller')]
@@ -36,6 +35,7 @@
      */
     public function handle()
     {
+        $table = $this->getTable($this->getTableInput());
         parent::handle();
     }