AbstractSaveCommand
in package
implements
CommandInterface
Class BasicOptionSaveAction
Interfaces, Classes and Traits
- CommandInterface
- Interface CommandInterface
Table of Contents
- $option : AbstractOption
- $configurationRepository : SettingsRepository
- execute() : void
- Execute the command
- rollback() : void
- Execute the command
- setConfigurationRepository() : void
- setOption() : void
- configurationRepository() : SettingsRepository
- saveOption() : void
Properties
$option
protected
AbstractOption
$option
$configurationRepository
private
SettingsRepository
$configurationRepository
Methods
execute()
Execute the command
public
abstract execute() : void
Return values
void —rollback()
Execute the command
public
abstract rollback() : void
Return values
void —setConfigurationRepository()
public
setConfigurationRepository(SettingsRepository $configurationRepository) : void
Parameters
- $configurationRepository : SettingsRepository
Return values
void —setOption()
public
setOption(OptionInterface $option) : void
Parameters
- $option : OptionInterface
Return values
void —configurationRepository()
protected
configurationRepository() : SettingsRepository
Tags
Return values
SettingsRepository —saveOption()
protected
saveOption() : void