POSTS
“new” and fluent interfaces
By Carlos Buenosvinos
- 1 minutes read - 51 wordsLast week, I was with some friends and we were talking about fluent interfaces and I show them something that they didn’t know. I got surprised about it because it was introduced in PHP 5.4.
Code from friends:
What they don’t know it can be done:
Silly, but cool, isn’t it?