Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using traits for BC
interface A {
public function do_this();
trait A_Trait {
public function do_this() {
// do something
class A_Class implements A {
use A_Trait;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment