2021-08-19 14:00:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace ViewComponents\Config;
|
|
|
|
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
|
|
|
|
class ViewComponents extends BaseConfig
|
|
|
|
{
|
2021-08-27 10:58:22 +00:00
|
|
|
public string $classComponentsPath = 'View/Components';
|
2021-08-19 14:00:14 +00:00
|
|
|
|
2021-08-27 10:58:22 +00:00
|
|
|
public string $viewFileComponentsPath = 'Views/components';
|
2021-09-02 10:01:20 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|
2021-08-19 14:00:14 +00:00
|
|
|
}
|