for store Pusherer::trigger('channel', 'created' , $tabc->toArray() );
for destroy: Pusherer::trigger('channel', 'destroyed' , $tabc->id );
works fine but for update should I pass id or all attributes like store. I have tried
Pusherer::trigger('channel', 'updated' , $tabc->toArray() ); but it behaves like new addition instead of update.
How should i trigger update??
Hi,
for store Pusherer::trigger('channel', 'created' , $tabc->toArray() ); for destroy: Pusherer::trigger('channel', 'destroyed' , $tabc->id );
works fine but for update should I pass id or all attributes like store. I have tried Pusherer::trigger('channel', 'updated' , $tabc->toArray() ); but it behaves like new addition instead of update. How should i trigger update??