Monthly Archives: December 2016

Traits vs Interfaces

Interfaces : An interface defines a set of methods that the implementing class must implement. Trait : When a trait is use’d the implementations of the methods come along too–which doesn’t happen in an Interface. http://stackoverflow.com/questions/9205083/traits-vs-interfaces

Posted in PHP | Leave a comment