Level 122
They don't do anything by themselves, you have to have other code that can reflect on the attributes and perform some action.
This might help https://youtu.be/ml0wMF4g6Yo
1 like
Hello,
I'm trying to wrap my head around Php8 Attributes #[] for a while now, anyone has a link for an explanation by Jeffrey?
Please or to participate in this conversation.