Closed SuperlativeEntity closed 10 years ago
This is because they are both fighting over the boot method
This will be resolved in v2.0
Thanks Man
It would be cool if version 2 was php 5.4+ upwards only so we could get rid of the duplication, and just use the trait.
@GrahamCampbell This worked well for me - watson/validating. It also ignores the current id in terms of validation during an update
@GrahamCampbell oh it will be, that's a definite! It will also require illuminate/support >= 4.2.6, so we can use:
bootRevisionableTrait()
instead of overriding boot()
https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Eloquent/Model.php#L305
(at least, I think that's when this came available)
Possible boot conflict. Need revisionable to gel with way/database (which extends directly from Eloquent)