src/Jobs/SendBatch.php
protected function makeExecuteRequest(Collection $requests)
    {
        $clientRequests = $requests->map(function (VkRequest $request) {
            return new Request($request->method, $request->parameters);
        });

        return ExecuteRequest::make($clientRequests->all());
    }
protected function makeExecuteRequest(Collection $requests)
    {
        $clientRequests = $requests->map(function (VkRequest $request) {
            return new Request($request->method, $request->parameters);
        });

        return ExecuteRequest::make($clientRequests->all());
    }
protected function makeExecuteRequest ( Collection $ requests ) { $ clientRequests = $ requests -> map ( function ( VkRequest $ request ) { return new Request ( $ request -> method , $ request -> parameters ) ; } ) ; return ExecuteRequest :: make ( $ clientRequests -> all ( ) ) ; }
Make a new "execute" request instanse with nested requests.

@param Collection $requests
@return ExecuteRequest
Make a new execute request instanse with nested requests .