Skip to content

Persisters#

Persisters are responsible for persisting Encoding objects to storage and are also used by the Persistent Model meta-estimator to save and restore models that have been serialized.

Save#

To save an encoding:

public save(Encoding $encoding) : void

$persister->save($encoding);

Load#

To load an encoding from persistence:

public load() : Encoding

$encoding = $persister->load();

Last update: 2021-04-01