for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the vseth-semesterly-reports project.
*
* (c) Florian Moser <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Entity;
use App\Entity\Base\BaseEntity;
use App\Entity\Traits\IdTrait;
use App\Entity\Traits\TimeTrait;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
* @ORM\HasLifecycleCallbacks
class Reminder extends BaseEntity
{
use IdTrait;
use TimeTrait;
* @var string
* @ORM\Column(type="text")
private $subject;
private $body;
public function getSubject(): string
return $this->subject;
}
public function setSubject(string $subject): void
$this->subject = $subject;
public function getBody(): ?string
return $this->body;
public function setBody(?string $body): void
$this->body = $body;
public function __toString()
return 'hi mom';