comparison src/Replacer/Replacer.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 3426c7e91c24
comparison
equal deleted inserted replaced
8:4216c0dc638c 9:d4730c14806d
87 /** 87 /**
88 * Model variable is standardly just a singular version of the table name. 88 * Model variable is standardly just a singular version of the table name.
89 */ 89 */
90 public function model_variable(string $name): string 90 public function model_variable(string $name): string
91 { 91 {
92 return Str::singular($name); 92 /* return Str::singular($name); */
93 return 'item';
93 } 94 }
94 95
95 /** 96 /**
96 * Controller names are generated in uppercase first Camel case 97 * Controller names are generated in uppercase first Camel case
97 * and wrapped in the prefix and suffix. 98 * and wrapped in the prefix and suffix.