comparison src/Generator/BaseGenerator.php @ 9:d4730c14806d

Small changes to config generation and table name input
author luka
date Sat, 02 Dec 2023 10:18:52 -0500
parents 769a17898cc0
children 19b7a8de0019
comparison
equal deleted inserted replaced
8:4216c0dc638c 9:d4730c14806d
45 if (!$this->tableExists($this->getTableInput())) { 45 if (!$this->tableExists($this->getTableInput())) {
46 $this->components->error('The table: "'.$this->getTableInput().'" does not exist in the database.'); 46 $this->components->error('The table: "'.$this->getTableInput().'" does not exist in the database.');
47 47
48 return false; 48 return false;
49 } 49 }
50
51 $this->setCurrentTable($this->getTableInput());
50 52
51 $path = $this->getPath(); 53 $path = $this->getPath();
52 54
53 $file = $this->getFile($path); 55 $file = $this->getFile($path);
54 56