changeType = $changeType; $this->author = $author; if ($date !== null && $date !== false) { $this->date = ($date instanceof DateTime) ? $date : new DateTime('@' . $date); } } /** * Get TrackChange Author. * * @return string */ public function getAuthor() { return $this->author; } /** * Get TrackChange Date. * * @return DateTime */ public function getDate() { return $this->date; } /** * Get the Change type. * * @return string */ public function getChangeType() { return $this->changeType; } }