I just read a great article by Shameer C. about traits in PHP 5.4. I’m really looking forward to using this functionality. Basically you can create things called traits, modules if you will, that you can then include into classes that you are writing.
For example if you need to deal with the filesystem, you could load in a filesystem trait that provides you with pre-written functionality. Or if you needed to make remote requests, you could load in a HTTP trait. Classes can only extend a single other class but you can use as many traits as you want.
This will be so useful!
Thanks Mo for sending me the link!
Thanks for this amazing post you have delivered very good content.
Really enjoyed reading your article, the information you delivered in this post was damn good. Keep sharing your post with efficient news.
This blog was really great, never seen a great blog like this before. I think I’m going to share this to my friends.
Impressive blog with lovely information. Really very useful article for us thanks for sharing such a wonderful blog.