GmConfigurationRepository

Implements \GmConfigurationRepositoryInterface

Class GmConfigurationRepository

package

Default

Methods

GmConfigurationRepository constructor.

__construct(\GmConfigurationReaderInterface $reader, \GmConfigurationWriterInterface $writer, \GmConfigurationFactoryInterface $factory) 

getConfigurationByKey

getConfigurationByKey(string $key) : \GmConfigurationInterface
Throws
\GmConfigurationNotFoundException

Arguments

$key

string

Response

\GmConfigurationInterface

updateGmConfiguration

updateGmConfiguration(\GmConfigurationInterface $configuration) 

Arguments

$configuration

\GmConfigurationInterface

Properties

reader

reader : \GmConfigurationReaderInterface

factory

factory : \GmConfigurationFactoryInterface

writer

writer : \GmConfigurationWriterInterface