protected function checkListViewIfSingleInSetNotEmpty(
        $fieldName,
        $explanation,
        array $allowedValues
    ) {
        $fieldSubPath = 'listView.' . $fieldName;
        $value = $this->objectToCheck->getListViewConfValueString($fieldName);

        $this->checkForNonEmptyStringValue(
            $value,
            $fieldSubPath,
            false,
            $explanation
        );
        $this->checkIfSingleInSetOrEmptyValue(
            $value,
            $fieldSubPath,
            false,
            $explanation,
            $allowedValues
        );
    }
protected function checkListViewIfSingleInSetNotEmpty(
        $fieldName,
        $explanation,
        array $allowedValues
    ) {
        $fieldSubPath = 'listView.' . $fieldName;
        $value = $this->objectToCheck->getListViewConfValueString($fieldName);

        $this->checkForNonEmptyStringValue(
            $value,
            $fieldSubPath,
            false,
            $explanation
        );
        $this->checkIfSingleInSetOrEmptyValue(
            $value,
            $fieldSubPath,
            false,
            $explanation,
            $allowedValues
        );
    }
protected function checkListViewIfSingleInSetNotEmpty ( $ fieldName , $ explanation , array $ allowedValues ) { $ fieldSubPath = 'listView.' . $ fieldName ; $ value = $ this -> objectToCheck -> getListViewConfValueString ( $ fieldName ) ; $ this -> checkForNonEmptyStringValue ( $ value , $ fieldSubPath , false , $ explanation ) ; $ this -> checkIfSingleInSetOrEmptyValue ( $ value , $ fieldSubPath , false , $ explanation , $ allowedValues ) ; }
Checks whether a configuration value in listView. is non-empty and lies
within a set of allowed values.

@param string $fieldName
TS setup field name to extract (within listView.), must not be empty
@param string $explanation
a sentence explaining what that configuration value is needed for,
must not be empty
@param string[] $allowedValues
allowed values (must not be empty)

@return void
Checks whether a configuration value in listView . is non - empty and lies within a set of allowed values .