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