thrownewEntityMethodException(sprintf('Duplicate action can not be created for ID \'%s\' for %s::%s(). The existing action is for the ::%s() method',$id,$entity_type->getClass(),$methodName,$this->derivatives[$id]['constructor_args']['method']));
thrownewEntityMethodException(sprintf('The pluralized entity method config action \'%s\' requires an array value in order to call %s::%s() multiple times',$this->pluginId,$entity->getEntityType()->getClass(),$this->method));
}
foreach($valuesas$value){
$entity=$this->applySingle($entity,$value);
}
return$entity;
}
/**
* Apply the action to entity treating the $values array a single call.