Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to trigger update #3

Open
breet opened this issue Mar 12, 2014 · 0 comments
Open

How to trigger update #3

breet opened this issue Mar 12, 2014 · 0 comments

Comments

@breet
Copy link

breet commented Mar 12, 2014

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant