YamlPersistence
class YamlPersistence extends AbstractPersistence (View source)
Dump configuration statements to a yaml file
Constants
DEFAULT_DEPTH |
Default depth of yaml file This will be the default if no "depth" parameter is specified |
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 38
array
load()
Load persistent definition (if available)
at line 53
void
dump(array $data)
Makes configuration persitent.