Welcome Guest, Not a member yet? Register   Sign In
Entity with Model finder (custom setters)
#8

Maybe I didn't put it that way. I like to have a whole entity and work with a domain model. And not just a line of the table. having special behavior is good otherwise why create getters if setters are forbidden? Just need to allow fill() on query, if you want to hard save attributes, do it after setAttibutes().
Simple CI 4 project for beginners codeigniter-expenses
Reply


Messages In This Thread
RE: Entity with Model finder (custom setters) - by ozornick - 11-12-2022, 01:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB