PersistentPoolStorage

From Sunhill Framework Documentation
Revision as of 11:20, 12 October 2024 by Klaus (talk | contribs) (page created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The PerstentStorage is the base for all storages that can write itself to some kind of persistent storage (like a harddisk or a database). This storages fills the dummy methods commit(), rollback() and isDirty() with some life.

The persistent storage takes care of tracking changes to values. You only have to overwrite a few methods:

doCommit(array $structure)

doRollback()

doMigrate(array $structure)