Trait Atk4\Core\ConfigTrait

This trait makes it possible for you to read config files and various configurations use:

  1. use Trait in your APP Class use \Atk4\Core\ConfigTrait;
  2. create config-default.php and/or config.php file and add config values like return ['key' => 'value'];
  3. call $this->readConfig(); before using config.
Methods
Properties