Skip to content

Commit 93849dd

Browse files
bwoebiPROFeNoM
andauthored
Keep DDTraceStamp (#2960)
* Keep DDTraceStamp While we no longer make use of it, immediately removing it may break existing applications. Let's keep it for a few versions and drop it later. * Update src/DDTrace/Integrations/SymfonyMessenger/DDTraceStamp.php Co-authored-by: Alexandre Choura <[email protected]> --------- Co-authored-by: Alexandre Choura <[email protected]>
1 parent f7328a8 commit 93849dd

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
namespace DDTrace\Integrations\SymfonyMessenger;
4+
5+
use Symfony\Component\Messenger\Stamp\StampInterface;
6+
7+
/**
8+
* @deprecated since 1.5.0
9+
*/
10+
final class DDTraceStamp implements StampInterface
11+
{
12+
private $headers;
13+
14+
public function __construct(array $headers)
15+
{
16+
$this->headers = $headers;
17+
}
18+
19+
public function getHeaders(): array
20+
{
21+
return $this->headers;
22+
}
23+
}

0 commit comments

Comments
 (0)