PHP 클래스 AssetCompress\Config\ConfigFinder
The app and each plugin could have config files, in addition for
each config file that is found, also look for a
.local file for
additional overrides.
파일 보기
프로젝트 열기: markstory/asset_compress
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
loadAll ( string $path = null ) : AssetConfig |
Load all configuration files in the application. |
|
보호된 메소드들
메소드 |
설명 |
|
_load ( AssetConfig $config, string $path, string $prefix = '' ) : void |
Load a config file and its .local file if it exists. |
|
메소드 상세
Load a config file and its .local file if it exists.
protected _load ( AssetConfig $config, string $path, string $prefix = '' ) : void |
$config |
MiniAsset\AssetConfig |
The config object to update. |
$path |
string |
The config file to load. |
$prefix |
string |
The prefix to use. |
리턴 |
void |
|
Loads:
- The app config (asset_compress.ini)
- The asset_compress.ini file in each plugin.
In addition for each file found the asset_compress.local.ini
will be loaded if it is present.
public loadAll ( string $path = null ) : AssetConfig |
$path |
string |
The configuration file path to start loading from. |
리턴 |
MiniAsset\AssetConfig |
The completed configuration object. |