libSmalldb
v2.0.2
|
Class AbstractSqlRepository.
This class implements a simple repository of a single entity class.
Public Member Functions | |
__construct (Smalldb $smalldb, Connection $db) | |
ref ($id) | |
Create a reference to a state machine identified by $id. More... | |
Protected Member Functions | |
getDataSource () | |
createDataSource () | |
createQueryBuilder (string $tableAlias='this') | |
getMachineProvider () | |
getReferenceClass () | |
Protected Attributes | |
Connection | $db |
const | REF_CLASS = null |
Smalldb | $smalldb |
__construct | ( | Smalldb | $smalldb, |
Connection | $db | ||
) |
|
protected |
|
protected |
|
protected |
ref | ( | $id | ) |
Create a reference to a state machine identified by $id.
Override this method to use a proper return type hint.
Implements SmalldbRepositoryInterface.
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |