45 lines
718 B
PHP
45 lines
718 B
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\AutoloadConfig;
|
|
|
|
/**
|
|
* Autoload
|
|
*
|
|
* This file defines the namespaces and class maps so the Autoloader
|
|
* can find the files as needed.
|
|
*/
|
|
class Autoload extends AutoloadConfig
|
|
{
|
|
/**
|
|
* PSR-4 style namespaces
|
|
*
|
|
* @var array<string, list<string>|string>
|
|
*/
|
|
public $psr4 = [
|
|
APP_NAMESPACE => APPPATH,
|
|
];
|
|
|
|
/**
|
|
* Class Maps
|
|
*
|
|
* @var array<string, string>
|
|
*/
|
|
public $classmap = [];
|
|
|
|
/**
|
|
* Files to be autoloaded.
|
|
*
|
|
* @var list<string>
|
|
*/
|
|
public $files = [];
|
|
|
|
/**
|
|
* Helpers to be autoloaded.
|
|
*
|
|
* @var list<string>
|
|
*/
|
|
public $helpers = ['common'];
|
|
}
|