File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/resources/handlebars/php Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ $config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration()->setApiK
79
79
$config = { {{invokerPackage} }}\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');{ {/isOAuth} }{ {/authMethods} }
80
80
{ {/hasAuthMethods} }
81
81
82
- $apiInstance = new { {concat apiPackage ' \\ ' classname} }(
82
+ $apiInstance = new { {apiPackage} } { {backSlash } } { { classname} }(
83
83
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
84
84
// This is optional, `GuzzleHttp\Client` will be used as default.
85
85
new GuzzleHttp\Client(){ {#hasAuthMethods} },
Original file line number Diff line number Diff line change 1
- # { {concat invokerPackage ' \\ ' classname} }{ {#description} }
1
+ # { {invokerPackage} } { {backSlash } } { { classname} }{ {#description} }
2
2
{ {description} }{ {/description} }
3
3
4
4
All URIs are relative to *{ {basePath} }*
@@ -40,7 +40,7 @@ $config = {{{invokerPackage}}}\Configuration::getDefaultConfiguration()->setApiK
40
40
$config = { {{invokerPackage} }}\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');{ {/isOAuth} }{ {/authMethods} }
41
41
{ {/hasAuthMethods} }
42
42
43
- $apiInstance = new { {concat apiPackage ' \\ ' classname} }(
43
+ $apiInstance = new { {apiPackage} } { {backSlash } } { { classname} }(
44
44
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
45
45
// This is optional, `GuzzleHttp\Client` will be used as default.
46
46
new GuzzleHttp\Client(){ {#hasAuthMethods} },
You can’t perform that action at this time.
0 commit comments