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 fbe5152 commit 7f36ae4Copy full SHA for 7f36ae4
src/Illuminate/Support/Testing/Fakes/EventFake.php
@@ -154,6 +154,19 @@ public function flush($event)
154
//
155
}
156
157
+ /**
158
+ * Fire an event and call the listeners.
159
+ *
160
+ * @param string|object $event
161
+ * @param mixed $payload
162
+ * @param bool $halt
163
+ * @return array|null
164
+ */
165
+ public function fire($event, $payload = [], $halt = false)
166
+ {
167
+ return $this->dispatch($event, $payload, $halt);
168
+ }
169
+
170
/**
171
* Fire an event and call the listeners.
172
*
0 commit comments