Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Listify booted twice on model #12

Closed
xire28 opened this issue May 9, 2015 · 1 comment
Closed

Listify booted twice on model #12

xire28 opened this issue May 9, 2015 · 1 comment

Comments

@xire28
Copy link

xire28 commented May 9, 2015

Listify is overriding boot model method to boot his behaviour, this is now deprecated for obvious reasons.

Now Eloquent traits must use a different system to boot themself. Every trait method starting with boot is automatically called by Eloquent then a model is booting.

So currently boot and bootListify are both called independently then a model is booting.

@xire28 xire28 mentioned this issue May 9, 2015
@lookitsatravis
Copy link
Owner

Thanks for pointing this out. I've done a new minor release (1.1.1) that removes the references to overriding the boot method. Also, thanks for the PR. Cheers!

👍

lookitsatravis pushed a commit that referenced this issue Oct 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants