phpDocumentor

CustomerAddonValueStorage implements CustomerAddonValueStorage

Class CustomerAddonValueStorage

Interfaces, Classes and Traits

CustomerAddonValueStorage
Interface CustomerAddonValueStorage

Table of Contents

$factory  : CustomerAddonValueFactory
$repository  : CustomerAddonValueRepository
__construct()  : mixed
getValue()  : string
Returns a customer addon value based on the given customer ID and key.
setValue()  : void
Sets a customer addon value based on the given customer ID, key and value.

Properties

Methods

getValue()

Returns a customer addon value based on the given customer ID and key.

public getValue(int $customerId, string $key[, string $defaultValue = '' ]) : string
Parameters
$customerId : int
$key : string
$defaultValue : string = ''
Tags
inheritDoc
Return values
string

setValue()

Sets a customer addon value based on the given customer ID, key and value.

public setValue(int $customerId, string $key, string $value) : void
Parameters
$customerId : int
$key : string
$value : string
Tags
inheritDoc
Return values
void

Search results