Closed shanginn closed 6 years ago
I believe your own observers should continue to fire.
With the trait removed does your observer work as expected?
Can you confirm which Laravel version you're using?
I'm sorry, you right. I have my own trait with another observer in parent class. I guess they conflicting. Thank you and sorry again.
Hello there! Great extension, thank you 👍 But I think there is a problem. After applying Usersstamps trait one can no longer define his own
creating
(and I thinkupdating
as well) listeners.For example, I have model
and Observer
and
Blabla::observe(BlablaObserver::class);
in AppServiceProvider.and
creating
is never fired in my observer; butsaving
for example is firing.I think this is due to the fact you redefine
creating
function in yoursregisterListeners()
function like this:static::creating('Wildside\Userstamps\Listeners\Creating@handle');
Am I right, or am I do something wrong?