Persisters#
Persisters are responsible for persisting a Persistable object to storage and are also used by the Persistent Model meta-estimator to save and restore models.
Save#
To store a persistable object:
public save(Persistable $persistable) : void
$persister->save($estimator);
Load#
Load the saved object from persistence:
public load() : Persistable
$estimator = $persister->load();
Last update: 2020-07-26