remove redundant methods in Transport (#163)
This commit is contained in:
parent
2ea4e0b77b
commit
59ab0888b1
2 changed files with 0 additions and 10 deletions
|
|
@ -21,8 +21,6 @@ use Symfony\Component\Uid\Uuid;
|
|||
*/
|
||||
class InMemoryTransport extends BaseTransport implements TransportInterface
|
||||
{
|
||||
use ManagesTransportCallbacks;
|
||||
|
||||
/**
|
||||
* @param list<string> $messages
|
||||
*/
|
||||
|
|
@ -33,10 +31,6 @@ class InMemoryTransport extends BaseTransport implements TransportInterface
|
|||
parent::__construct($logger);
|
||||
}
|
||||
|
||||
public function initialize(): void
|
||||
{
|
||||
}
|
||||
|
||||
public function onMessage(callable $listener): void
|
||||
{
|
||||
$this->messageListener = $listener;
|
||||
|
|
|
|||
|
|
@ -60,10 +60,6 @@ class StreamableHttpTransport extends BaseTransport implements TransportInterfac
|
|||
], $corsHeaders);
|
||||
}
|
||||
|
||||
public function initialize(): void
|
||||
{
|
||||
}
|
||||
|
||||
public function send(string $data, array $context): void
|
||||
{
|
||||
$this->immediateResponse = $data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue