Welcome Guest, Not a member yet? Register   Sign In
Entity magic __get not called in second generation child class
#2

You cannot get the property value in your method. Looping occurs as getColor() => $this->color => getColor() ... and property not exist
Try rename method or replace return $this->attributes["color"]
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply


Messages In This Thread
RE: Entity magic __get not called in second generation child class - by ozornick - 09-08-2024, 12:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB