You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
362 B
PHP
19 lines
362 B
PHP
<?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);
|
|
}
|
|
}
|