class AbstractModelManager implements ModelManagerInterface

ModelManagerInterface in-memory implementation.

Properties

protected $models

Methods

createModel(ModelInterface $model)

No description

readModelAll()

No description

readModelBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)

No description

readModelOneBy(array $criteria, array $orderBy = null)

No description

updateModel(ModelInterface $model)

No description

deleteModel(ModelInterface $model)

No description

Details

at line 26
createModel(ModelInterface $model)

Parameters

ModelInterface $model

at line 33
readModelAll()

at line 38
readModelBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)

Parameters

array $criteria
array $orderBy
$limit
$offset

at line 68
readModelOneBy(array $criteria, array $orderBy = null)

Parameters

array $criteria
array $orderBy

at line 75
updateModel(ModelInterface $model)

Parameters

ModelInterface $model

at line 82
deleteModel(ModelInterface $model)

Parameters

ModelInterface $model