Regras de negócio qual camada deve ficar

Good night,

I’m creating a feature that uses different methods in tables to meet a specific business rule. What better place should I put this implementation? I thought about using a Behavior, would it be the best place?

Thanks

Behaviors are meant to be used in multiple table classes. If your logic only needs to be used inside tables classes and nowhere else then a behavior is a good place for that.

If it is also used somewhere else I would rather put that in a generic PHP Class and call it wherever you need it.