|
|
@@ -66,6 +66,7 @@ class Trip |
|
|
$this->endLocation = $endLocation; |
|
|
$this->endLocation = $endLocation; |
|
|
$this->startDate = $startDate; |
|
|
$this->startDate = $startDate; |
|
|
$this->endDate = $endDate; |
|
|
$this->endDate = $endDate; |
|
|
|
|
|
$this->completed = false; |
|
|
$this->createdAt = new DateTimeImmutable(); |
|
|
$this->createdAt = new DateTimeImmutable(); |
|
|
$this->tripLocations = new ArrayCollection(); |
|
|
$this->tripLocations = new ArrayCollection(); |
|
|
$this->userTrips = new ArrayCollection(); |
|
|
$this->userTrips = new ArrayCollection(); |
|
|
|