/** * @param string $environmentName */ public function __construct($environmentName) { parent::__construct(STACK_APPLICATION_ROOT . '/config/environment.ini', $environmentName); }
/** * Get an application setting * * @param string $setting * @return mixed setting value * @throws Exception */ public function getSetting($setting) { return $this->environment->get($setting); }