gromnan's avatar

Jérôme Tamarelle

gromnan

Member since

15

Total Reputation

1

Total Arguments

1

Total Votes for Arguments

Arguments and votes

1

It could be used by ORMs like Laravel Eloquent Model that has cast and other hooks to transform data on get/set.

This would be really useful if this hooks could be added externally. So we can use attributes to add generic validation or transformation hooks.

Share:
Read the RFC: Property Hooks gromnan avatar
gromnan
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!