[5.7] Add Facade::resolved() method to register pending callback until the service is available. (#26824)
[5.7] Add Facade::resolved() method to register pending callback until the service is available. (#26824)

* [5.7] Add Facade::resolved() method to register pending callback until
the service is available.

Signed-off-by: Mior Muhammad Zaki <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>

* Add missing import.

Signed-off-by: Mior Muhammad Zaki <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>

JamesForks/framework,srmkliveforks/framework,tomschlick/framework,cybercog/framework,mul14/laravel-framework,cviebrock/framework,leo108/laravel_framework,tjbp/framework,mul14/laravel-framework,cviebrock/framework,ChristopheB/framework,laravel/framework,halaei/framework,notebowl/laravel-framework,cybercog/framework,gms8994/framework,barryvdh/framework,crynobone/framework,rodrigopedra/framework,tomschlick/framework,tjbp/framework,leo108/laravel_framework,srmkliveforks/framework,lucasmichot/framework,rodrigopedra/framework,halaei/framework,JosephSilber/framework,driesvints/framework,samlev/framework,mul14/laravel-framework,stidges/framework,arturock/framework,tomschlick/framework,barryvdh/framework,halaei/framework,cviebrock/framework,stidges/framework,hafezdivandari/framework,cviebrock/framework,rodrigopedra/framework,dwightwatson/framework,barryvdh/framework,JosephSilber/framework,tjbp/framework,stevebauman/framework,barryvdh/framework,jerguslejko/framework,stevebauman/framework,mul14/laravel-framework,arturock/framework,crynobone/framework,gms8994/framework,arturock/framework,jerguslejko/framework,hafezdivandari/framework,bytestream/framework,srmkliveforks/framework,vlakoff/framework,gms8994/framework,morrislaptop/framework,bytestream/framework,srmkliveforks/framework,stidges/framework,cybercog/framework,ChristopheB/framework,laravel/framework,jerguslejko/framework,notebowl/laravel-framework,gms8994/framework,JamesForks/framework,jerguslejko/framework,morrislaptop/framework,dwightwatson/framework,samlev/framework,driesvints/framework,ChristopheB/framework,lucasmichot/framework,vlakoff/framework,stidges/framework,vlakoff/framework,rodrigopedra/framework