SellingUnitIdFactory
in package
implements
SellingUnitIdFactoryInterface
Interfaces, Classes and Traits
- SellingUnitIdFactoryInterface
- Interface SellingUnitIdFactoryInterface
Table of Contents
- $dispatcher : EventDispatcherInterface
- $instance : SellingUnitIdFactory
- __construct() : mixed
- SellingUnitIdFactory constructor.
- createFromCustom() : SellingUnitId
- createFromInfoString() : SellingUnitId
- createFromProductString() : SellingUnitId
- instance() : SellingUnitIdFactory
Properties
$dispatcher
protected
EventDispatcherInterface
$dispatcher
$instance
private
static SellingUnitIdFactory
$instance
Methods
__construct()
SellingUnitIdFactory constructor.
public
__construct([EventDispatcherInterface|null $dispatcher = null ]) : mixed
Parameters
- $dispatcher : EventDispatcherInterface|null = null
Return values
mixed —createFromCustom()
public
createFromCustom(mixed $type, mixed $value, LanguageId $languageId) : SellingUnitId
Parameters
- $type : mixed
- $value : mixed
- $languageId : LanguageId
Tags
Return values
SellingUnitId —createFromInfoString()
public
createFromInfoString(string $value, LanguageId $languageId) : SellingUnitId
Parameters
- $value : string
- $languageId : LanguageId
Tags
Return values
SellingUnitId —createFromProductString()
public
createFromProductString(string $value, LanguageId $languageId) : SellingUnitId
Parameters
- $value : string
- $languageId : LanguageId
Tags
Return values
SellingUnitId —instance()
public
static instance() : SellingUnitIdFactory