AbstractPersistence
abstract class AbstractPersistence implements InstallerPersistenceInterface (View source)
Properties
protected Composer | $composer | ||
protected IOInterface | $io | ||
protected Configuration | $configuration | ||
protected InstallerParameters | $parameters |
Methods
__construct(Composer $composer, IOInterface $io, Configuration $configuration, InstallerParameters $parameters)
Persistence constructor, just to ensure all pieces are in the right place
getComposer()
No description
getIo()
No description
getConfiguration()
No description
setConfiguration(Configuration $configuration)
No description
getParameters()
No description
array
load()
Load persistent definition (if available)
void
dump(array $data)
Makes configuration persitent.
Details
at line 50
__construct(Composer $composer, IOInterface $io, Configuration $configuration, InstallerParameters $parameters)
Persistence constructor, just to ensure all pieces are in the right place
at line 59
getComposer()
at line 65
getIo()
at line 71
getConfiguration()
at line 78
setConfiguration(Configuration $configuration)
at line 86
getParameters()
at line 95
abstract array
load()
Load persistent definition (if available)
at line 100
abstract void
dump(array $data)
Makes configuration persitent.