| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function __construct( |
||
| 32 | TaskId $id, |
||
| 33 | TaskTitle $title, |
||
| 34 | string $description, |
||
| 35 | Participant $creator, |
||
| 36 | Participant $assignee, |
||
| 37 | TaskPriority $priority, |
||
| 38 | TaskId $parentId = null |
||
| 39 | ) { |
||
| 40 | $this->id = $id; |
||
| 41 | $this->title = $title; |
||
| 42 | $this->description = $description; |
||
| 43 | $this->creator = $creator; |
||
| 44 | $this->assignee = $assignee; |
||
| 45 | $this->priority = $priority; |
||
| 46 | $this->parentId = $parentId; |
||
| 47 | $this->occurredOn = new \DateTimeImmutable(); |
||
| 48 | } |
||
| 49 | |||
| 90 |