thrownewEntityMethodException(sprintf('Entity method config action \'%s\' requires an array value. The number of parameters or required parameters for %s::%s() is not 1',$this->pluginId,$entity->getEntityType()->getClass(),$this->method));
}
$entity->{$this->method}($value);
$result=$entity->{$this->method}($value);
}
else{
$entity->{$this->method}(...$value);
$result=$entity->{$this->method}(...$value);
}
return$entity;
// If an instance of the entity (either itself, or a clone) was returned