src/Assertion.php
public static function choicesIsset(array $values, array $choices)
    {
        self::notEmpty($values, null, null);

        foreach ($choices as $choice) {

            self::keyIsset($values, $choice, null, null);
        }
    }
public static function choicesIsset(array $values, array $choices)
    {
        self::notEmpty($values, null, null);

        foreach ($choices as $choice) {

            self::keyIsset($values, $choice, null, null);
        }
    }
public static function choicesIsset ( array $ values , array $ choices ) { self :: notEmpty ( $ values , null , null ) ; foreach ( $ choices as $ choice ) { self :: keyIsset ( $ values , $ choice , null , null ) ; } }
Determines if the values array has every choice as key and that this choice has content.

@param array $values
@param array $choices
Determines if the values array has every choice as key and that this choice has content .