I\'m seeking clarification on whether to put code in a controller, an entity or to make a service.
I have \'cardset\' and \'card\' objects (where many of the latter
If you will follow SOLID principles you will get to the SRP which states that your class should have one single responsibility.
I think it is obvious that generating one pdf is something diferent than modeling data and mapping your database( your entity does that)