lithium\g11n\Catalog::config()
Overrides
lithium\core\Adaptable::config()
Sets configurations for this Adaptable implementation.
Parameters
-
array
$config
Configurations, indexed by name.
Returns
arrayCollection
of configurations or void if setting configurations.
Source
public static function config($config = null) {
$defaults = ['scope' => null];
if (is_array($config)) {
foreach ($config as $i => $item) {
$config[$i] += $defaults;
}
}
return parent::config($config);
}