ContentManagerSaveCommand
extends AbstractSaveCommand
in package
Class WysiwygSaveCommand
Table of Contents
- $contentReadService : ContentReadServiceInterface
- $contentValueObjectFactory : bool|mixed
- $contentWriteService : ContentWriteServiceInterface
- $currentTheme : CurrentThemeInterface
- $languageService : LanguageService
- $option : AbstractContentManagerOption
- $configurationRepository : SettingsRepository
- __construct() : mixed
- WysiwygSaveCommand constructor.
- execute() : void
- Execute the command
- rollback() : void
- Execute the command
- setConfigurationRepository() : void
- setOption() : void
- configurationRepository() : SettingsRepository
- saveOption() : void
Properties
$contentReadService
protected
ContentReadServiceInterface
$contentReadService
$contentValueObjectFactory
protected
bool|mixed
$contentValueObjectFactory
$contentWriteService
protected
ContentWriteServiceInterface
$contentWriteService
$currentTheme
protected
CurrentThemeInterface
$currentTheme
$languageService
protected
LanguageService
$languageService
$option
protected
AbstractContentManagerOption
$option
$configurationRepository
private
SettingsRepository
$configurationRepository
Methods
__construct()
WysiwygSaveCommand constructor.
public
__construct(ContentWriteServiceInterface $contentWriteService, ContentReadServiceInterface $contentReadService, ContentValueObjectFactory $contentValueObjectFactory, LanguageService $languageService, CurrentThemeInterface $currentTheme) : mixed
Parameters
- $contentWriteService : ContentWriteServiceInterface
- $contentReadService : ContentReadServiceInterface
- $contentValueObjectFactory : ContentValueObjectFactory
- $languageService : LanguageService
- $currentTheme : CurrentThemeInterface
Return values
mixed —execute()
Execute the command
public
abstract execute() : void
Return values
void —rollback()
Execute the command
public
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