PHP - Interfaces and Traits
You want to create a PHP class that must implement a method
connect() defined by an interface, share common code for disconnect() from an abstract class, and reuse logging code from a trait. Which is the best way to design this?