Skip to content

Commit e4bace2

Browse files
authored
Mark request method "@internal" (#297)
1 parent 20dfcf3 commit e4bace2

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

src/Input/AddLayerVersionPermissionRequest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ public function getVersionNumber(): ?string
128128
return $this->VersionNumber;
129129
}
130130

131+
/**
132+
* @internal
133+
*/
131134
public function requestBody(): string
132135
{
133136
$payload = [];
@@ -142,13 +145,19 @@ public function requestBody(): string
142145
return json_encode($payload);
143146
}
144147

148+
/**
149+
* @internal
150+
*/
145151
public function requestHeaders(): array
146152
{
147153
$headers = ['content-type' => 'application/json'];
148154

149155
return $headers;
150156
}
151157

158+
/**
159+
* @internal
160+
*/
152161
public function requestQuery(): array
153162
{
154163
$query = [];
@@ -159,6 +168,9 @@ public function requestQuery(): array
159168
return $query;
160169
}
161170

171+
/**
172+
* @internal
173+
*/
162174
public function requestUri(): string
163175
{
164176
$uri = [];

src/Input/InvocationRequest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,17 @@ public function getQualifier(): ?string
113113
return $this->Qualifier;
114114
}
115115

116+
/**
117+
* @internal
118+
*/
116119
public function requestBody(): string
117120
{
118121
return $this->Payload ?? '';
119122
}
120123

124+
/**
125+
* @internal
126+
*/
121127
public function requestHeaders(): array
122128
{
123129
$headers = ['content-type' => 'application/json'];
@@ -134,6 +140,9 @@ public function requestHeaders(): array
134140
return $headers;
135141
}
136142

143+
/**
144+
* @internal
145+
*/
137146
public function requestQuery(): array
138147
{
139148
$query = [];
@@ -144,6 +153,9 @@ public function requestQuery(): array
144153
return $query;
145154
}
146155

156+
/**
157+
* @internal
158+
*/
147159
public function requestUri(): string
148160
{
149161
$uri = [];

src/Input/ListLayerVersionsRequest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,19 @@ public function getMaxItems(): ?int
8181
return $this->MaxItems;
8282
}
8383

84+
/**
85+
* @internal
86+
*/
8487
public function requestHeaders(): array
8588
{
8689
$headers = ['content-type' => 'application/json'];
8790

8891
return $headers;
8992
}
9093

94+
/**
95+
* @internal
96+
*/
9197
public function requestQuery(): array
9298
{
9399
$query = [];
@@ -104,6 +110,9 @@ public function requestQuery(): array
104110
return $query;
105111
}
106112

113+
/**
114+
* @internal
115+
*/
107116
public function requestUri(): string
108117
{
109118
$uri = [];

src/Input/PublishLayerVersionRequest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ public function getLicenseInfo(): ?string
9999
return $this->LicenseInfo;
100100
}
101101

102+
/**
103+
* @internal
104+
*/
102105
public function requestBody(): string
103106
{
104107
$payload = [];
@@ -141,20 +144,29 @@ public function requestBody(): string
141144
return json_encode($payload);
142145
}
143146

147+
/**
148+
* @internal
149+
*/
144150
public function requestHeaders(): array
145151
{
146152
$headers = ['content-type' => 'application/json'];
147153

148154
return $headers;
149155
}
150156

157+
/**
158+
* @internal
159+
*/
151160
public function requestQuery(): array
152161
{
153162
$query = [];
154163

155164
return $query;
156165
}
157166

167+
/**
168+
* @internal
169+
*/
158170
public function requestUri(): string
159171
{
160172
$uri = [];

0 commit comments

Comments
 (0)