@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | $resourcePath = GenerateConfigReader::read('resource'); |
61 | 61 | |
62 | - return $path . $resourcePath->getPath() . '/' . $this->getFileName() . '.php'; |
|
62 | + return $path.$resourcePath->getPath().'/'.$this->getFileName().'.php'; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | private function getFileName(): string |
@@ -68,7 +68,7 @@ |
||
68 | 68 | |
69 | 69 | $middlewarePath = GenerateConfigReader::read('filter'); |
70 | 70 | |
71 | - return $path . $middlewarePath->getPath() . '/' . $this->getFileName() . '.php'; |
|
71 | + return $path.$middlewarePath->getPath().'/'.$this->getFileName().'.php'; |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | private function getFileName(): string |
@@ -60,7 +60,7 @@ |
||
60 | 60 | |
61 | 61 | $notificationPath = GenerateConfigReader::read('notifications'); |
62 | 62 | |
63 | - return $path . $notificationPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
63 | + return $path.$notificationPath->getPath().'/'.$this->getFileName().'.php'; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | private function getFileName(): string |
@@ -60,11 +60,11 @@ |
||
60 | 60 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
61 | 61 | $factoryPath = GenerateConfigReader::read('component-view'); |
62 | 62 | |
63 | - return $path . $factoryPath->getPath() . '/' . $this->getFileName(); |
|
63 | + return $path.$factoryPath->getPath().'/'.$this->getFileName(); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | private function getFileName(): string |
67 | 67 | { |
68 | - return Str::lower($this->argument('name')) . '.blade.php'; |
|
68 | + return Str::lower($this->argument('name')).'.blade.php'; |
|
69 | 69 | } |
70 | 70 | } |
@@ -84,17 +84,17 @@ |
||
84 | 84 | |
85 | 85 | $generatorPath = GenerateConfigReader::read('provider'); |
86 | 86 | |
87 | - return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
87 | + return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php'; |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | protected function getWebRoutesPath(): string |
91 | 91 | { |
92 | - return '/' . $this->laravel['modules']->config('stubs.files.routes/web', 'Routes/web.php'); |
|
92 | + return '/'.$this->laravel['modules']->config('stubs.files.routes/web', 'Routes/web.php'); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | protected function getApiRoutesPath(): string |
96 | 96 | { |
97 | - return '/' . $this->laravel['modules']->config('stubs.files.routes/api', 'Routes/api.php'); |
|
97 | + return '/'.$this->laravel['modules']->config('stubs.files.routes/api', 'Routes/api.php'); |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | public function getDefaultNamespace(): string |
@@ -78,7 +78,7 @@ |
||
78 | 78 | $testPath = GenerateConfigReader::read('test-unit'); |
79 | 79 | } |
80 | 80 | |
81 | - return $path . $testPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
81 | + return $path.$testPath->getPath().'/'.$this->getFileName().'.php'; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | private function getFileName(): string |
@@ -40,11 +40,11 @@ |
||
40 | 40 | |
41 | 41 | public function getDestinationFilePath(): string |
42 | 42 | { |
43 | - $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
|
43 | + $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
|
44 | 44 | |
45 | 45 | $eventPath = GenerateConfigReader::read('event'); |
46 | 46 | |
47 | - return $path . $eventPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
47 | + return $path.$eventPath->getPath().'/'.$this->getFileName().'.php'; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | protected function getFileName(): string |
@@ -68,7 +68,7 @@ |
||
68 | 68 | |
69 | 69 | $policyPath = GenerateConfigReader::read('policies'); |
70 | 70 | |
71 | - return $path . $policyPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
71 | + return $path.$policyPath->getPath().'/'.$this->getFileName().'.php'; |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | private function getFileName(): string |
@@ -88,10 +88,10 @@ |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
91 | - * Get module type . |
|
92 | - * |
|
93 | - * @return string |
|
94 | - */ |
|
91 | + * Get module type . |
|
92 | + * |
|
93 | + * @return string |
|
94 | + */ |
|
95 | 95 | private function getModuleType(): string |
96 | 96 | { |
97 | 97 | $isPlain = $this->option('plain'); |