Closed rrr63 closed 1 month ago
Hi, I can try to add it.
@rrr63 Hi, check the newest version
Perfect thanks ! Also, i am testing your bundle, can we import an array property ? I can't figure it out on the doc, i made a quick fix in local to test
Hmm, I think it is not currently possible, only scalar values are allowed.
The question is, how this array should look like in files?
Maybe we could add a default separator for array, and possibility to overide it ?
if (method_exists($entity, $setterName)) {
$reflection = new \ReflectionMethod($entity, $setterName);
$params = $reflection->getParameters();
if (!empty($params)) {
$paramType = $params[0]->getType();
if ($paramType && $paramType->getName() === 'array') {
$value = explode('//', $value);
}
}
$entity->$setterName($value);
} else {
$entity->$propertyName = $value;
}
Can you create separated issue for this?
Sure
Hello,
First, thanks for your bundle,
It is plan to make upgrade orm dependency to 3.2 ?