We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34a7a6 commit 44b3641Copy full SHA for 44b3641
core/deprecations.md
@@ -186,20 +186,20 @@ use ApiPlatform\Metadata\GetCollection;
186
use ApiPlatform\Metadata\Link;
187
188
#[ApiResource(
189
- operations: [
190
- new GetCollection(
191
- headers: [
192
- 'deprecation' => '@1688169599', // Unix timestamp
193
- ],
194
- links: [
195
- new Link('deprecation', 'https://developer.example.com/deprecation'),
196
197
- ),
198
+ operations: [
+ new GetCollection(
+ headers: [
+ 'deprecation' => '1688169599', // Unix timestamp
+ ],
+ links: [
+ new Link('deprecation', 'https://developer.example.com/deprecation'),
+ ),
199
)]
200
class DeprecationHeader
201
{
202
- // ...
+ // ...
203
}
204
```
205
0 commit comments