public static function genericSetMultiple(array $values)
    {
        $container = static::container();
        foreach ($values as $id => $value) {
            $container->{static::$setMethod}($id, $value);
        }
    }
public static function genericSetMultiple(array $values)
    {
        $container = static::container();
        foreach ($values as $id => $value) {
            $container->{static::$setMethod}($id, $value);
        }
    }
public static function genericSetMultiple ( array $ values ) { $ container = static :: container ( ) ; foreach ( $ values as $ id => $ value ) { $ container -> { static :: $ setMethod } ( $ id , $ value ) ; } }
Set multiple items in the container, disregarding the name of the setter
method.

Creates internal container, if no container injected/exists.

@param array $values

@return void

@throws ContainerRuntimeException
Propagated.
Set multiple items in the container disregarding the name of the setter method .