ProductPriceAdapter
in package
implements
ProductPriceAdapterInterface
Class ProductPriceAdapter
Interfaces, Classes and Traits
- ProductPriceAdapterInterface
- Interface ProductPriceAdapterInterface
Table of Contents
- $reader : ProductPriceReaderInterface
- $writer : ProductPriceWriterInterface
- __construct() : mixed
- ProductPriceAdapter constructor.
- reader() : ProductPriceReaderInterface
- Returns an instance that can fetch product price data from a storage.
- writer() : ProductPriceWriterInterface
- Returns an instance that can write product price data to a storage.
Properties
$reader
protected
ProductPriceReaderInterface
$reader
$writer
protected
ProductPriceWriterInterface
$writer
Methods
__construct()
ProductPriceAdapter constructor.
public
__construct(ProductPriceReaderInterface $reader, ProductPriceWriterInterface $writer) : mixed
Parameters
- $reader : ProductPriceReaderInterface
- $writer : ProductPriceWriterInterface
Return values
mixed —reader()
Returns an instance that can fetch product price data from a storage.
public
reader() : ProductPriceReaderInterface
Return values
ProductPriceReaderInterface —writer()
Returns an instance that can write product price data to a storage.
public
writer() : ProductPriceWriterInterface