PropertyCommand
Abstract class for constructing property mappings.
Example: final class CreatePostCommand extends PropertyCommand { public PostId $postId; }
$command = new CreatePostCommand(['postId' => new PostId()]); $odin->execute($command);
- Full name:
\Codefy\CommandBus\PropertyCommand
- This class implements:
\Codefy\CommandBus\Command
- This class is an Abstract class
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$data | array |
Throws:
Automatically generated on 2025-10-13