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\LocationRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LocationRepository::class)]
class Location
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: "NONE")]
#[ORM\Column]
private $id;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $description = null;
private ?string $details = null;
public function getId(): ?int
return $this->id;
}
public function setId(int $id)
$this->id = $id;
public function getName(): ?string
return $this->name;
public function setName(string $name): self
$this->name = $name;
return $this;
public function getDescription(): ?string
return $this->description;
public function setDescription(string $description): self
$this->description = $description;
public function getDetails(): ?string
return $this->details;
public function setDetails(string $details): self
$this->details = $details;