Mercurial > packages > magicforger
diff src/Generator/Replacer.php @ 12:4bb4daa9e3f1 development
Working with the new FileModifier
| author | luka |
|---|---|
| date | Wed, 24 Apr 2024 19:52:35 -0400 |
| parents | a20439b1c9d3 |
| children |
line wrap: on
line diff
--- a/src/Generator/Replacer.php Tue Jun 27 20:16:55 2023 -0400 +++ b/src/Generator/Replacer.php Wed Apr 24 19:52:35 2024 -0400 @@ -53,7 +53,9 @@ return $target; } - + /** + * @return array<string,mixed> + */ public function get_available_replacements() { $table_name = $this->getTableInput(); @@ -138,7 +140,9 @@ { return $this->getRootNamespace() . 'Http\\Requests\\' . $this->model_name($name); } - + /** + * @return string + */ public function getRequestUses(string $name) { return implode("\n", [ @@ -172,3 +176,17 @@ return Str::lower($this->human_readable($name)); } } + +class Replacer +{ + /** + * @return void + */ + public function get_available_replacements(): array + { + } + + public function getRequestUses(): string + { + } +}
