DatabaseRepositoryInterface
interface DatabaseRepositoryInterface (View source)
The DatabaseRepositoryInterface class.
Methods
Record
getRecord(string $name = null)
getRecord
DataMapper
getDataMapper(string $name = null)
getDataMapper
AbstractDatabaseDriver
getDb()
getDb
setDb(AbstractDatabaseDriver $db)
setDb
transactionStart(boolean $nested = true)
transactionStart
transactionCommit(boolean $nested = true)
transactionCommit
transactionRollback(boolean $nested = true)
transactionRollback
Details
at line line 29
Record
getRecord(string $name = null)
getRecord
at line line 38
DataMapper
getDataMapper(string $name = null)
getDataMapper
at line line 45
AbstractDatabaseDriver
getDb()
getDb
at line line 54
DatabaseRepositoryInterface
setDb(AbstractDatabaseDriver $db)
setDb
at line line 63
DatabaseRepositoryInterface
transactionStart(boolean $nested = true)
transactionStart
at line line 72
DatabaseRepositoryInterface
transactionCommit(boolean $nested = true)
transactionCommit
at line line 81
DatabaseRepositoryInterface
transactionRollback(boolean $nested = true)
transactionRollback