We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to setup doctrine object to populate without success. please help
https://stackoverflow.com/questions/68454962/jms-serializer-object-to-populate/69555946#69555946
The text was updated successfully, but these errors were encountered:
This isn't working for me either.
$context = new DeserializationContext(); $xmlImport = file_get_contents($input->getOption('path') . '/import.xml'); $configImport = $this->serializer->deserialize($xmlImport, XmlBase::class, 'xml'); $context->setAttribute('target', $configImport); $xmlCandidate = file_get_contents($input->getOption('path') . '/candidate.xml'); $configCandidate = $this->serializer->deserialize($xmlCandidate, XmlBase::class, 'xml', $context); dd($configCandidate);
XmlBase is the parent and contains a nested child XmlSystem.
I get this error message:
Typed property App\Entity\XmlBase::$system must be an instance of App\Entity\XmlSystem, App\Entity\XmlBase used
Sorry, something went wrong.
No branches or pull requests
I try to setup doctrine object to populate without success. please help
https://stackoverflow.com/questions/68454962/jms-serializer-object-to-populate/69555946#69555946
The text was updated successfully, but these errors were encountered: