mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
refactor(componentrenderer): update locateView using a lookupModules property in config
This commit is contained in:
parent
a95de8bab0
commit
58c8839902
3 changed files with 39 additions and 6 deletions
|
|
@ -11,4 +11,14 @@ class ViewComponents extends BaseConfig
|
|||
public string $classComponentsPath = 'View/Components';
|
||||
|
||||
public string $viewFileComponentsPath = 'Views/components';
|
||||
|
||||
/**
|
||||
* Modules to look into for local components. Associative array with the module namespace as key and the module path
|
||||
* as value.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public array $lookupModules = [];
|
||||
|
||||
public string $defaultLookupPath = APPPATH;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue