PayloadCommand
- Full name:
\Codefy\CommandBus\PayloadCommand
- Parent class:
stdClass
- This class implements:
\Codefy\CommandBus\Command
Inherited methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$payload | array |
fromPayload
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$payload | array |
with
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
without
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
get
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string | |
$default | mixed |
getOrFail
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
Throws:
payload
validate
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$payload | array |
Throws:
Automatically generated on 2025-10-13