reading the book of Koterov “PHP 7 in the script” met with the reflection API.
How reflections are working, it is written extremely available and understandable. But, there is not a single living example where it can be used in practice. So far, the only practical benefit I noted for myself is to generate documentation. But not only for this was created this mechanism?
How to junior with a sufficiently small experience of work is very interesting, in what cases are reflections are used when solving working tasks? I would like real, living examples.
Good article came out, describing the answer to my question with examples. I will leave here, maybe someone will come in handy https://habr.com/post/433266/