Converted the existing abstract class to an PHP trait

I converted your package to an PHP trait (http://php.net/manual/en/language.oop5.traits.php).