Flow PHP

DbalLoader 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
withOperation()  : self
withOperationOptions()  : self

Methods

__construct()

public __construct(string $tableName, array<string, mixed> $connectionParams) : mixed
Parameters
$tableName : string
$connectionParams : array<string, mixed>

fromConnection()

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

public static fromConnection(Connection $connection, string $tableName[, InsertOptions|UpdateOptions|null $operationOptions = null ][, string $operation = 'insert' ]) : self
Parameters
$connection : Connection
$tableName : string
$operationOptions : InsertOptions|UpdateOptions|null = null
$operation : string = 'insert'
Tags
throws
InvalidArgumentException
Return values
self

load()

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

withOperation()

public withOperation(string $operation) : self
Parameters
$operation : string
Tags
throws
InvalidArgumentException
Return values
self

withOperationOptions()

public withOperationOptions(InsertOptions|UpdateOptions|null $operationOptions) : self
Parameters
$operationOptions : InsertOptions|UpdateOptions|null
Return values
self

        
On this page

Search results