ActorPoolBinding
in package
Read onlyYes
FinalYes
Ergonomic carrier for injecting a ConnectionPool into actors via Props::fromFactory().
Plan 2 (nexus-doctrine-orm) will introduce a sibling OrmActorPoolBinding that composes this one with an EntityManagerPool — so this binding stays DBAL-only and unaware of ORM.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$connPool
public
ConnectionPool
$connPool
Methods
__construct()
public
__construct(ConnectionPool $connPool) : mixed
Parameters
- $connPool : ConnectionPool