You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you define a property called 'name' then accessing it breaks because DataItem::$name is defined as a class property, so doing $data->name won't work.
Outside of the class it probably works because the properties are protected, so you get to the magic accessor, but inside it things will go wrong.
The text was updated successfully, but these errors were encountered:
If you define a property called 'name' then accessing it breaks because DataItem::$name is defined as a class property, so doing $data->name won't work.
Outside of the class it probably works because the properties are protected, so you get to the magic accessor, but inside it things will go wrong.
The text was updated successfully, but these errors were encountered: