Component evidence

In-Memory Transport Factory (InMemory/InMemoryTransportFactory.php)

symfony · src/Symfony/Component/Messenger/Transport/InMemory/InMemoryTransportFactory.php · php · MIT
infratestingchattag:transporttag:in-memorytag:serialization

Creates in-memory message transport instances for testing and development, supporting serialization and reset.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/symfony/symfony | License: MIT | Copyright 2004-present Fabien Potencier
// Provided via justclaw.it.com; keep this notice with the code.
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Messenger\Transport\InMemory;

use Psr\Clock\ClockInterface;
use Symfony\Component\Messenger\Transport\Serialization\SerializerInterface;
use Symfony\Component\Messenger\Transport\TransportFactoryInterface;
use Symfony\Component\Messenger\Transport\TransportInterface;
use Symfony\Contracts\Service\ResetInterface;

/**
 * @author Gary PEGEOT <garypegeot@gmail.com>


... (truncated -- full source via MCP)