atk4 / ui

Robust and easy to use PHP Framework for Web Apps
https://atk4-ui.readthedocs.io
MIT License
439 stars 104 forks source link

Use View::$entity property for entity access #2192

Closed mvorisek closed 3 months ago

mvorisek commented 3 months ago

In 99% cases the impact is on Form::$model property usage. Seach form->model in your codebase and replace it with form->entity.

The motivation is to simplify model/entity orientation for the developer. When Model is guaranteed to be entity only, is should never be named model.