mpociot / laravel-firebase-sync

Synchronize your Eloquent models with a Firebase Realtime Database.
http://marcelpociot.com/blog/2016-06-20-synchronise-laravel-eloquent-models-with-firebase
265 stars 70 forks source link

getFirebaseSyncData method #25

Closed kennyhorna closed 6 years ago

kennyhorna commented 6 years ago

Hi!

I'm reading in the docs:

If you need more control over the data that gets synchronized with Firebase, you can override the getFirebaseSyncData of the SyncsWithFirebase trait and let it return the array data you want to send to Firebase.

But I can't locate that method in the trait. I've override but it doens't work. So my question is if is still supported or maybe I need to override another method?

Thanks in advance.