HighSpeaker/vendor/illuminate/events/functions.php

19 lines
362 B
PHP
Raw Normal View History

2022-12-24 22:10:40 +08:00
<?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);
}
}