Closed AzzAToTV closed 9 years ago
I'm not sure I understand. Can you elaborate?
Currently in your package, when you put the data into Elasticsearch you call $this->toArray(), i was wondering if you could add an overwritable function that gets the function, so i can change what array gets stored.
Elasticquent has it: https://github.com/adamfairholm/Elasticquent/#document-data
Just pushed a commit. Give it a try and let me know.
Yes, this works exactly as expected. Thank you :+1:
Can you add support to modify what data get's put into Elasticsearch, like in Elasticquent.