src/Assertion.php
public static function allInRangeOrAll($value, $minValue, $maxValue)
    {
        if (is_array($value)) {
            static::allRange($value, $minValue, $maxValue);

            return;
        }

        static::eq($value, 'all');
    }
public static function allInRangeOrAll($value, $minValue, $maxValue)
    {
        if (is_array($value)) {
            static::allRange($value, $minValue, $maxValue);

            return;
        }

        static::eq($value, 'all');
    }
public static function allInRangeOrAll ( $ value , $ minValue , $ maxValue ) { if ( is_array ( $ value ) ) { static :: allRange ( $ value , $ minValue , $ maxValue ) ; return ; } static :: eq ( $ value , 'all' ) ; }
Assert that value is a range of numbers or the string 'all'

@param mixed   $value
@param integer $minValue
@param integer $maxValue

@throws Assert\AssertionFailedException
Assert that value is a range of numbers or the string all