-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[11.x] Move Defer classes to Support component and add Illuminate\Support\defer
function
#52801
Conversation
Also avoid using global `defer()` function when it can be defined in environment such as Swoole Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
@@ -3,7 +3,7 @@ | |||
namespace Illuminate\Contracts\Concurrency; | |||
|
|||
use Closure; | |||
use Illuminate\Foundation\Defer\DeferredCallback; | |||
use Illuminate\Concurrency\Defer\DeferredCallback; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@taylorotwell This might be a breaking change but as Concurrency is still in beta we might allow it.
Doesn't the For example, |
@crynobone personally I would maybe put this in Support instead of Concurrency. |
Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
@taylorotwell moved to Support |
Illuminate\Support\defer
function
Also avoid using global
defer()
function when it can be defined in environment such as Swoole