for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Entity\Game;
use App\Repository\Game\ResponseRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ResponseRepository::class)]
class Response
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: "NONE")]
#[ORM\Column]
private $id;
#[ORM\Column(type: Types::INTEGER)]
private ?int $actionId;
#[ORM\Column(length: 255)]
private ?string $type = null;
private ?int $locationId = null;
public function getId(): ?int
return $this->id;
}
public function setId(int $id): self
$this->id = $id;
return $this;
public function getActionId(): ?int
return $this->actionId;
public function setActionId(int $actionId): self
$this->actionId = $actionId;
public function getType(): ?string
return $this->type;
public function setType(string $type): self
$this->type = $type;
public function getLocationId(): ?int
return $this->locationId;
public function setLocationId(int $locationId): self
$this->locationId = $locationId;