public function getAllowedValues()
    {
        $inArrayFilters = $this->getRequirements()->filter(
            function($value) {
                return $value instanceof InArray;
            }
        );

        if (count($inArrayFilters) > 0) {
            return $inArrayFilters->first()->getValues();
        }
        return [];
    }
public function getAllowedValues()
    {
        $inArrayFilters = $this->getRequirements()->filter(
            function($value) {
                return $value instanceof InArray;
            }
        );

        if (count($inArrayFilters) > 0) {
            return $inArrayFilters->first()->getValues();
        }
        return [];
    }
public function getAllowedValues ( ) { $ inArrayFilters = $ this -> getRequirements ( ) -> filter ( function ( $ value ) { return $ value instanceof InArray ; } ) ; if ( count ( $ inArrayFilters ) > 0 ) { return $ inArrayFilters -> first ( ) -> getValues ( ) ; } return [ ] ; }
Is only a selected set of values allowed?
@return string[]
Is only a selected set of values allowed?