private function getConditionJsonData() : array
    {
        $json = [];
        foreach ($this->conditions as $condition) {
            $json[] = $condition->getJsonData();
        }
        return $json;
    }
private function getConditionJsonData() : array
    {
        $json = [];
        foreach ($this->conditions as $condition) {
            $json[] = $condition->getJsonData();
        }
        return $json;
    }
private function getConditionJsonData ( ) : array { $ json = [ ] ; foreach ( $ this -> conditions as $ condition ) { $ json [ ] = $ condition -> getJsonData ( ) ; } return $ json ; }
Return conditions json data

@return array
Return conditions json data