Entities
Hector ORM purpose 2 ways to manage entities inside your project. Each has advantages or inconvenient.
- Magic entity: Magic entities relies on PHP magic methods
- Classic entity: Classic entities relies on declared properties
Another way exists, it's to create your own mapper and manage entities like you want. It's more complex to implement.