NULL transport

June 7, 2019 ยท View on GitHub

{% include support.md %}

NULL transport

This a special transport implementation, kind of stub. It does not send nor receive anything. Useful in tests for example.

  • Installation
  • Create context

Installation

$ composer require enqueue/null

Create context

<?php
use Enqueue\Null\NullConnectionFactory;

$connectionFactory = new NullConnectionFactory();

$context = $connectionFactory->createContext();

back to index

Contents

  1. 1Installation
  2. 2Create context