laravel-custom-relation
laravel-custom-relation copied to clipboard
Call to undefined method getKeys()
it got this error
Call to undefined method LaravelCustomRelation\Relations\Custom::getKeys()
Can't do much with this. Can you post the code for the relationship you defined?
on laravel 5.7 as described in readme of your package i got this error, exactly the same as docs
getting the same error, getKeys is protected in Illuminate Relation so, it can't access that on Laravel 5.8 atleast.
My apologies, I'm swamped currently and can not devote time to this. I'll happily accept a pull request with the fix.