Closed nielstholenaar closed 10 years ago
:+1: for using trait. Extending Eloquent blocks people who are already using another Eloquent extendor (Ardent, Magniloquent, Revisionable, etc.). Please make this a trait and include an Interface, too.
I've already created an trait and an interface but i'm currently writing some tests. After this I will create an new pull request.
I don't like the idea of extending my Eloquent model, so I converted your package to an PHP trait (http://php.net/manual/en/language.oop5.traits.php).