add MultiRequest
This commit is contained in:
@@ -11,6 +11,7 @@ namespace QL\Providers;
|
||||
use QL\Contracts\ServiceProviderContract;
|
||||
use QL\Kernel;
|
||||
use QL\Services\HttpService;
|
||||
use QL\Services\MultiRequestService;
|
||||
|
||||
class HttpServiceProvider implements ServiceProviderContract
|
||||
{
|
||||
@@ -27,5 +28,9 @@ class HttpServiceProvider implements ServiceProviderContract
|
||||
$kernel->bind('postJson',function (...$args){
|
||||
return HttpService::postJson($this,...$args);
|
||||
});
|
||||
|
||||
$kernel->bind('multiRequest',function (...$args){
|
||||
return new MultiRequestService($this,...$args);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user