| 1 | <?php |
||
| 10 | final class DoSomething implements Command |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var PointInTime |
||
| 14 | */ |
||
| 15 | private $timeOfRequest; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var AggregateRootId |
||
| 19 | */ |
||
| 20 | private $aggregateRootId; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private $reason; |
||
| 26 | |||
| 27 | public function __construct( |
||
| 36 | |||
| 37 | public function timeOfRequest(): PointInTime |
||
| 41 | |||
| 42 | public function aggregateRootId(): AggregateRootId |
||
| 46 | |||
| 47 | public function reason(): string |
||
| 51 | |||
| 52 | } |
||
| 53 |