Properties¶
$innerService
¶
CartServiceDecorator.php
:
23
|
|
Methods¶
__construct()
¶
CartServiceDecorator.php
:
25
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$innerService | CartServiceInterface | - | - |
addEntry()
¶
CartServiceDecorator.php
:
65
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$entryAddStruct | EntryAddStruct | - | - |
Return values
createCart()
¶
CartServiceDecorator.php
:
40
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cartCreateStruct | CartCreateStruct | - | - |
Return values
deleteCart()
¶
CartServiceDecorator.php
:
50
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
emptyCart()
¶
CartServiceDecorator.php
:
55
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
findCarts()
¶
CartServiceDecorator.php
:
35
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | CartQuery|null | null | - |
Return values
getCart()
¶
CartServiceDecorator.php
:
30
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
mergeCarts()
¶
CartServiceDecorator.php
:
83
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$targetCart | CartInterface | - | - |
$deleteMergedCarts | bool | - | - |
$cartsToMerge | CartInterface | - | - |
Return values
removeEntry()
¶
CartServiceDecorator.php
:
70
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$entry | EntryInterface | - | - |
Return values
updateCartMetadata()
¶
CartServiceDecorator.php
:
45
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$cartUpdateStruct | CartMetadataUpdateStruct | - | - |
Return values
updateEntry()
¶
CartServiceDecorator.php
:
75
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$entry | EntryInterface | - | - |
$entryUpdateStruct | EntryUpdateStruct | - | - |
Return values
validateCart()
¶
CartServiceDecorator.php
:
60
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
Return values
ConstraintViolationListInterface