Пример #1
0
 /**
  * Sets toggle and condition variable based on feature name
  *
  * @param $featureName
  */
 private function getToggleConditions($featureName)
 {
     $this->toggle = DBToggle::where('name', $featureName)->firstOrFail();
     $this->conditions = $this->toggle->conditions;
 }