zlibproxy/vendor/illuminate/events/functions.php

19 lines
362 B
PHP
Raw Normal View History

2023-01-02 19:56:44 +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);
}
}