public function multipleFrom(array $valueLabelMap) : ArrayOfFieldBuilder
    {
        return $this->arrayOf(
            Field::element()->string()->oneOf($valueLabelMap)->required()
        )->containsNoDuplicates();
    }
public function multipleFrom(array $valueLabelMap) : ArrayOfFieldBuilder
    {
        return $this->arrayOf(
            Field::element()->string()->oneOf($valueLabelMap)->required()
        )->containsNoDuplicates();
    }
public function multipleFrom ( array $ valueLabelMap ) : ArrayOfFieldBuilder { return $ this -> arrayOf ( Field :: element ( ) -> string ( ) -> oneOf ( $ valueLabelMap ) -> required ( ) ) -> containsNoDuplicates ( ) ; }
Validates the input as an an array only containing elements which
are in the supplied value map

Example
<code>
->multipleFrom([
'value'         => 'Label',
'another-value' => 'Another Label',
])
</code>

@param array $valueLabelMap

@return ArrayOfFieldBuilder
Validates the input as an an array only containing elements which are in the supplied value map