public function getConditions()
    {
        $conditionList = $this->withFirstParent(
            Form::class,
            function (Form $formConfiguration) {
                return $formConfiguration->getConditionList();
            }
        );

        $conditionList = ($conditionList) ?: [];
        ArrayUtility::mergeRecursiveWithOverrule($conditionList, $this->conditions);

        return $conditionList;
    }
public function getConditions()
    {
        $conditionList = $this->withFirstParent(
            Form::class,
            function (Form $formConfiguration) {
                return $formConfiguration->getConditionList();
            }
        );

        $conditionList = ($conditionList) ?: [];
        ArrayUtility::mergeRecursiveWithOverrule($conditionList, $this->conditions);

        return $conditionList;
    }
public function getConditions ( ) { $ conditionList = $ this -> withFirstParent ( Form :: class , function ( Form $ formConfiguration ) { return $ formConfiguration -> getConditionList ( ) ; } ) ; $ conditionList = ( $ conditionList ) ? : [ ] ; ArrayUtility :: mergeRecursiveWithOverrule ( $ conditionList , $ this -> conditions ) ; return $ conditionList ; }
Will merge the conditions with the condition list of the parent form.

@return ConditionItemInterface[]
Will merge the conditions with the condition list of the parent form .