. */ namespace App\Entity\Contracts; interface LogWithCommentInterface { /** * Checks if this log entry has a user provided comment. */ public function hasComment(): bool; /** * Gets the user provided comment associated with this log entry. * Returns null if not comment was set. */ public function getComment(): ?string; /** * Sets the user provided comment associated with this log entry. * * @return $this */ public function setComment(?string $new_comment): self; }