Configs

Global Configs

Global configs should generally be namespaced. Configs for the core components are prefixed with lia.. Example:

// in Liaison's code
$lia->default('lia.cacheDir', $liaRootDir.'/cache/');
// in your code, if you don't want to use the default
$lia->set('lia.cacheDir', __DIR__.'/cache/'):
//in a far far away piece of code
$cacheDir = $lia->get('lia.cacheDir');

set() notes

@import(Usage.Config.notes)

Config Files

These are not setup yet

Package-level configs

Currently there are "configs" set as an array on Package. Eventually these will be overwriteable

Component-level configs

I'm not sure if these will be available, or if they will just inherit from Package