JsonPersistence
class JsonPersistence extends AbstractPersistence (View source)
Dump configuration statements to a json file
Properties
protected Composer | $composer | from AbstractPersistence | |
protected IOInterface | $io | from AbstractPersistence | |
protected Configuration | $configuration | from AbstractPersistence | |
protected InstallerParameters | $parameters | from AbstractPersistence |
Methods
__construct(Composer $composer, IOInterface $io, Configuration $configuration, InstallerParameters $parameters)
Persistence constructor, just to ensure all pieces are in the right place
from AbstractPersistence
array
load()
Load persistent definition (if available)
void
dump(array $data)
Makes configuration persitent.
Details
in AbstractPersistence at line 50
__construct(Composer $composer, IOInterface $io, Configuration $configuration, InstallerParameters $parameters)
Persistence constructor, just to ensure all pieces are in the right place
in AbstractPersistence at line 59
getComposer()
in AbstractPersistence at line 65
getIo()
in AbstractPersistence at line 71
getConfiguration()
in AbstractPersistence at line 78
setConfiguration(Configuration $configuration)
in AbstractPersistence at line 86
getParameters()
at line 28
array
load()
Load persistent definition (if available)
at line 43
void
dump(array $data)
Makes configuration persitent.