protected function getConditions()
    {
        $conditionLoader = $this->loader->getConditions();
        $conditions = [];
        for ($number = 1; $number <= 4; $number++) {
            $element = 'gcon_condition_text' . $number;
            $conditionId = (int) $this->_data[$element];
            if ($conditionId >0) {
                $conditions[] = $conditionLoader->loadCondition($conditionId);
            }
        }

        return $conditions;
    }
protected function getConditions()
    {
        $conditionLoader = $this->loader->getConditions();
        $conditions = [];
        for ($number = 1; $number <= 4; $number++) {
            $element = 'gcon_condition_text' . $number;
            $conditionId = (int) $this->_data[$element];
            if ($conditionId >0) {
                $conditions[] = $conditionLoader->loadCondition($conditionId);
            }
        }

        return $conditions;
    }
protected function getConditions ( ) { $ conditionLoader = $ this -> loader -> getConditions ( ) ; $ conditions = [ ] ; for ( $ number = 1 ; $ number <= 4 ; $ number ++ ) { $ element = 'gcon_condition_text' . $ number ; $ conditionId = ( int ) $ this -> _data [ $ element ] ; if ( $ conditionId > 0 ) { $ conditions [ ] = $ conditionLoader -> loadCondition ( $ conditionId ) ; } } return $ conditions ; }
Load the conditions

@return \Gems\Condition\RoundConditionInterface[]
Load the conditions