protected function checkIfSingleInSetNotEmpty(
        $fieldName,
        $canUseFlexforms,
        $sheet,
        $explanation,
        array $allowedValues
    ) {
        $this->checkForNonEmptyString(
            $fieldName,
            $canUseFlexforms,
            $sheet,
            $explanation
        );
        $this->checkIfSingleInSetOrEmpty(
            $fieldName,
            $canUseFlexforms,
            $sheet,
            $explanation,
            $allowedValues
        );
    }
protected function checkIfSingleInSetNotEmpty(
        $fieldName,
        $canUseFlexforms,
        $sheet,
        $explanation,
        array $allowedValues
    ) {
        $this->checkForNonEmptyString(
            $fieldName,
            $canUseFlexforms,
            $sheet,
            $explanation
        );
        $this->checkIfSingleInSetOrEmpty(
            $fieldName,
            $canUseFlexforms,
            $sheet,
            $explanation,
            $allowedValues
        );
    }
protected function checkIfSingleInSetNotEmpty ( $ fieldName , $ canUseFlexforms , $ sheet , $ explanation , array $ allowedValues ) { $ this -> checkForNonEmptyString ( $ fieldName , $ canUseFlexforms , $ sheet , $ explanation ) ; $ this -> checkIfSingleInSetOrEmpty ( $ fieldName , $ canUseFlexforms , $ sheet , $ explanation , $ allowedValues ) ; }
Checks whether a configuration value is non-empty and lies within a set
of allowed values.

@param string $fieldName
TS setup field name to extract, must not be empty
@param bool $canUseFlexforms
whether the value can also be set via flexforms (this will be
mentioned in the error message)
@param string $sheet
flexforms sheet pointer, eg. "sDEF", will be ignored if
$canUseFlexforms is set to FALSE
@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 is non - empty and lies within a set of allowed values .