AttachmentConfigurationService
in package
implements
AttachmentConfigurationServiceInterface
Interfaces, Classes and Traits
Table of Contents
- $configurationService : ConfigurationService
- $factory : AttachmentConfigurationFactory
- __construct() : mixed
- getConfiguration() : AttachmentConfigurationInterface|null
- Returns the attachment configuration object value or null if no config was found
- saveConfiguration() : void
- Saves the attachment configuration value to the database
Properties
$configurationService
private
ConfigurationService
$configurationService
$factory
private
AttachmentConfigurationFactory
$factory
Methods
__construct()
public
__construct(AttachmentConfigurationFactory $factory, ConfigurationService $configurationService) : mixed
Parameters
- $factory : AttachmentConfigurationFactory
- $configurationService : ConfigurationService
Return values
mixed —getConfiguration()
Returns the attachment configuration object value or null if no config was found
public
getConfiguration(string $key, string $languageCode) : AttachmentConfigurationInterface|null
Parameters
- $key : string
- $languageCode : string
Tags
Return values
AttachmentConfigurationInterface|null —saveConfiguration()
Saves the attachment configuration value to the database
public
saveConfiguration(AttachmentConfigurationInterface $attachmentConfiguration) : void
Parameters
- $attachmentConfiguration : AttachmentConfigurationInterface