We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2fa0ad commit 8bd8abfCopy full SHA for 8bd8abf
EventHandler.php
@@ -108,18 +108,14 @@ final protected function triggerEvents(): void
108
if (is_null($this->event)) {
109
throw new \Exception("Event has not been initiated", 1);
110
}
111
-
112
113
foreach ($this->event as $key => $event) {
114
if (is_array($event)) {
115
$select = key($event);
116
- if (isset($this->bindable[$select])) {
117
- $this->getEvent($event[$select]);
118
- }
+ $this->getEvent($event[$select]);
119
} else {
120
$this->getEvent($event);
121
122
- // Execute event once!
+ // Stop propagate make sure event is executed once
123
if ($this->stopPropagate) {
124
unset($this->event[$key]);
125
0 commit comments