for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Entity;
use App\Repository\ProblemRepository;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ProblemRepository::class)
*/
class Problem
{
public function __construct()
$this->createdAt = new DateTime();
}
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
private $id;
* @ORM\Column(type="datetime")
private $createdAt;
* @ORM\Column(type="text")
private $description;
* @ORM\Column(type="string", length=255, nullable=true)
private $uri;
public function getId(): ?int
return $this->id;
public function getCreatedAt(): ?\DateTimeInterface
return $this->createdAt;
public function setCreatedAt(\DateTimeInterface $createdAt): self
$this->createdAt = $createdAt;
return $this;
public function getDescription(): ?string
return $this->description;
public function setDescription(string $description): self
$this->description = $description;
public function getUri(): ?string
return $this->uri;
public function setUri(?string $uri): self
$this->uri = $uri;