Skip to content

QueueConnectionFactoryHelper

fiammybe edited this page Aug 8, 2022 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\QueueInteropConnectionFactoryHelper\QueueConnectionFactoryHelper

Queue-Interop factory helper

Methods

Name Description
createContext Create context from dsn
getFactory Get connection context based on DSN

QueueConnectionFactoryHelper::createContext

Description

public static createContext (string $dsn)

Create context from dsn

Parameters

  • (string) $dsn : Connection string

Return Values

\Context


QueueConnectionFactoryHelper::getFactory

Description

public static getFactory (string $dsn)

Get connection context based on DSN

Parameters

  • (string) $dsn : DSN string to make connection

Return Values

\Context

Throws Exceptions

\DSNNotSupportedException

\EmptyDSNException