v1.0.0 initial release
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Events;
|
||||
|
||||
use Closure;
|
||||
|
||||
if (! function_exists('Illuminate\Events\queueable')) {
|
||||
/**
|
||||
* Create a new queued Closure event listener.
|
||||
*
|
||||
* @param \Closure $closure
|
||||
* @return \Illuminate\Events\QueuedClosure
|
||||
*/
|
||||
function queueable(Closure $closure)
|
||||
{
|
||||
return new QueuedClosure($closure);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user