Skip to content

Commit

Permalink
Keep DDTraceStamp (#2960)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
bwoebi and PROFeNoM authored Nov 18, 2024
1 parent f7328a8 commit 93849dd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/DDTrace/Integrations/SymfonyMessenger/DDTraceStamp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace DDTrace\Integrations\SymfonyMessenger;

use Symfony\Component\Messenger\Stamp\StampInterface;

/**
* @deprecated since 1.5.0
*/
final class DDTraceStamp implements StampInterface
{
private $headers;

public function __construct(array $headers)
{
$this->headers = $headers;
}

public function getHeaders(): array
{
return $this->headers;
}
}

0 comments on commit 93849dd

Please sign in to comment.