/** * @return array * @throws NotSupportedException if the attributeIndexOrDerivedType has not been populated yet */ public function getOperatorValuesAndLabels() { if ($this->attributeIndexOrDerivedType == null) { throw new NotSupportedException(); } $type = $this->getAvailableOperatorsType(); $data = array(); ModelAttributeToReportOperatorTypeUtil::resolveOperatorsToIncludeByType($data, $type); return $data; }