@@ 406-415 (lines=10) @@ | ||
403 | * |
|
404 | * @return array |
|
405 | */ |
|
406 | protected function formatCached($cached) |
|
407 | { |
|
408 | $modules = []; |
|
409 | ||
410 | foreach ($cached as $name => $module) { |
|
411 | $modules[$name] = $this->createModule($this->app, $name, $this->getModulePath($name)); |
|
412 | } |
|
413 | ||
414 | return $modules; |
|
415 | } |
|
416 | ||
417 | /** |
|
418 | * Creates a new Module instance |
@@ 183-194 (lines=12) @@ | ||
180 | * |
|
181 | * @return array |
|
182 | */ |
|
183 | protected function formatCached($cached) |
|
184 | { |
|
185 | $modules = []; |
|
186 | ||
187 | foreach ($cached as $name => $module) { |
|
188 | $path = $module['path']; |
|
189 | ||
190 | $modules[$name] = $this->createModule($this->app, $name, $path); |
|
191 | } |
|
192 | ||
193 | return $modules; |
|
194 | } |
|
195 | ||
196 | /** |
|
197 | * Get cached modules. |