CoolCMS API

SourceRef
in package

FinalYes

External source reference of a stock operation. Value object (no DI — the `*DTO*` folder mask in config/common.neon keeps it out of the container scan).

module = cms_system_modules id (eshop = 4), type = order|complaint|manual|storno, id = entity id in the foreign module. lockName() yields the per-source advisory lock key used by ReservationService (GET_LOCK serialization of reserve/release/confirm).

Table of Contents

Properties

$id  : int
$module  : int
$type  : string

Methods

__construct()  : mixed
lockName()  : string

Properties

Methods

__construct()

public __construct(int $module, string $type, int $id) : mixed
Parameters
$module : int
$type : string
$id : int

lockName()

public lockName() : string
Return values
string
On this page

Search results