Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Conversation

kslimani
Copy link
Contributor

@kslimani kslimani commented Sep 5, 2017

This fix allow developer to use static boot() method in models without conflicting with the uuid scope trait.

To handle this issue, Laravel framework, while booting all model traits, check for the bootTraitClassName method and execute it if exists.

@joselfonseca joselfonseca merged commit 73a20df into joselfonseca:master Sep 9, 2017
@joselfonseca joselfonseca added this to the 3.2.0 milestone Sep 9, 2017
@kslimani kslimani deleted the fix-uuid-trait branch September 10, 2017 21:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants