Flow PHP

TransactionalDbalLoader implements Loader

FinalYes

Interfaces

Loader

Methods

__construct()  : mixed
fromConnection()  : self
Since Connection::getParams() is marked as an internal method, please use this constructor with caution.
load()  : void
withIsolationLevel()  : self

Methods

__construct()

public __construct(array<string, mixed> $connectionParams, Loader ...$loaders) : mixed
Parameters
$connectionParams : array<string, mixed>
$loaders : Loader

fromConnection()

Since Connection::getParams() is marked as an internal method, please use this constructor with caution.

public static fromConnection(Connection $connection, Loader ...$loaders) : self
Parameters
$connection : Connection
$loaders : Loader
Return values
self

load()

public load(Rows $rows, FlowContext $context) : void
Parameters
$rows : Rows
$context : FlowContext

withIsolationLevel()

public withIsolationLevel(TransactionIsolationLevel|int $level) : self
Parameters
$level : TransactionIsolationLevel|int
Return values
self

        
On this page

Search results