PHP type hints: self and parent
Less known type hints in PHP: self and parent. Why do we not use them as often? How long have they been around? Why and when are they useful?
Less known type hints in PHP: self and parent. Why do we not use them as often? How long have they been around? Why and when are they useful?
The other day I was listening to the FullStackRadio episode 34 which is about dealing with dependencies in Active Record models. This is a very interesting topic and they suggest a few solutions for it. I liked the suggestions and I tried to implement it differently. The result was really nice.