Orpheus

TransactionOperationSet
in package
implements IteratorAggregate

The Transaction Object Set class

This class is about a transaction with multiple operation for an adapter

Tags
author

Florent Hazard contact@sowapps.com

Table of Contents

Interfaces

IteratorAggregate

Properties

$operations  : array<string|int, TransactionOperation>
List of operation in this set
$sqlAdapter  : AbstractSqlAdapter
The SQL Adapter to use

Methods

__construct()  : mixed
Constructor
add()  : void
Add an operation to this set
getIterator()  : Traversable
getSqlAdapter()  : AbstractSqlAdapter
Get the SQL Adapter
save()  : void
Try to apply operations
runOperations()  : void
Run operation, these will be applied into DBMS
validateOperations()  : void
Validate operations, before applying

Properties

Methods


							
On this page

Search results