Event emitted before action execution.
Methods¶
__construct()
¶
BeforeCreateOrderEvent.php
:
22
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | OrderCreateStruct | - | - |
$orderResult | OrderInterface|null | null | - |
getCreateStruct()
¶
BeforeCreateOrderEvent.php
:
28
|
|
Return values
getOrderResult()
¶
BeforeCreateOrderEvent.php
:
33
|
|
Return values
hasOrderResult()
¶
BeforeCreateOrderEvent.php
:
49
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setOrderResult()
¶
BeforeCreateOrderEvent.php
:
44
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$orderResult | OrderInterface|null | - | - |
stopPropagation()
¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().