Mercurial > packages > magicforger
comparison src/Generator/Route/RouteGenerator.php @ 23:827efbf4d73c main-dev
Huge changes to the relationships for models and more complex
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Fri, 11 Apr 2025 20:50:20 -0400 |
| parents | 81a76472ba21 |
| children |
comparison
equal
deleted
inserted
replaced
| 22:ee8ef14e158d | 23:827efbf4d73c |
|---|---|
| 48 } | 48 } |
| 49 | 49 |
| 50 /** | 50 /** |
| 51 * Resolve the fully-qualified path to the stub. | 51 * Resolve the fully-qualified path to the stub. |
| 52 * | 52 * |
| 53 * @param string $stub | 53 * @param string $stub |
| 54 * | |
| 55 * @return string | 54 * @return string |
| 56 */ | 55 */ |
| 57 protected function resolveStubPath($stub) | 56 protected function resolveStubPath($stub) |
| 58 { | 57 { |
| 59 return is_file($customPath = $this->laravel->basePath(trim($stub, '/'))) | 58 return is_file($customPath = $this->laravel->basePath(trim($stub, '/'))) |
