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