path; } public function getType(): FileChangeType { return $this->type; } public function getTimestamp(): DateTimeImmutable { return $this->timestamp; } public function isType(FileChangeType $type): bool { return $this->type === $type; } public function isModification(): bool { return $this->type === FileChangeType::MODIFIED; } public function isCreation(): bool { return $this->type === FileChangeType::CREATED; } public function isDeletion(): bool { return $this->type === FileChangeType::DELETED; } }