public static function every(array $set, Closure $callback) {
        foreach ($set as $key => $value) {
            if (!$callback($value, $key)) {
                return false;
            }
        }

        return true;
    }
public static function every(array $set, Closure $callback) {
        foreach ($set as $key => $value) {
            if (!$callback($value, $key)) {
                return false;
            }
        }

        return true;
    }
public static function every ( array $ set , Closure $ callback ) { foreach ( $ set as $ key => $ value ) { if ( ! $ callback ( $ value , $ key ) ) { return false ; } } return true ; }
Returns true if every element in the array satisfies the provided testing function.

@param array $set
@param \Closure $callback
@return bool
Returns true if every element in the array satisfies the provided testing function .