I’m a Magento developer and therefore I save entities. I’m used to it and using a class to set all properties on it is a great way to interact with an entity. Shopware doesn’t. To create a new entity you call create on a repository and pass an array to it. Like this example from“Shopware: Save new entity – don’t use getVars()” weiterlesen
Schlagwort-Archive:entity
Shopware 6: Cannot access private property Namespace\Class::$property
You have this error? More trace is at the end of the post. The properties of your Entity need to be protected.