comparison src/Generator/Model/ModelGenerator.php @ 11:3426c7e91c24 main-dev

Modifying generaters and replacers
author luka
date Wed, 24 Apr 2024 19:53:42 -0400
parents 769a17898cc0
children c969ed13c570
comparison
equal deleted inserted replaced
10:a9ff874afdbd 11:3426c7e91c24
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 * 54 *
55 * @return string 55 * @return string
56 */ 56 */
57 protected function resolveStubPath($stub) 57 protected function resolveStubPath($stub)
58 { 58 {
59 return is_file($customPath = $this->laravel->basePath(trim($stub, '/'))) 59 return is_file($customPath = $this->laravel->basePath(trim($stub, '/')))