Skip to content

Abstract Class Update

Latest
Compare
Choose a tag to compare
@bennett-treptow bennett-treptow released this 14 Jan 15:37
· 3 commits to master since this release

This release allows for this trait to be used on an abstract model and it will correctly be used on the implementing class.

Changes

  • Changed $cacheAttributes to no longer be static (but will still look for static::$cacheAttributes)
  • Changed the model lifecycle hook to "initialize" to allow for proper $this use