<?phpnamespace App\Entity;use App\Repository\MemoryGameRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=MemoryGameRepository::class) */class MemoryGame{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="memorygames") * @ORM\JoinColumn(nullable=false) */ private $user; /** * @ORM\Column(type="float", nullable=true) */ private $start; /** * @ORM\Column(type="float", nullable=true) */ private $end; /** * @ORM\Column(type="integer", nullable=true) */ private $points; /** * @ORM\Column(type="text", nullable=true) */ private $itemsStart; /** * @ORM\Column(type="integer", nullable=true) */ private $moveCount; /** * @ORM\Column(type="text", nullable=true) */ private $itemsChecked; /** * @ORM\Column(type="text", nullable=true) */ private $itemsLeft; /** * @ORM\Column(type="integer", nullable=false) */ private $quiz; public function getId(): ?int { return $this->id; } public function getUser(): ?User { return $this->user; } public function setUser(?User $user): self { $this->user = $user; return $this; } public function getStart(): ?float { return $this->start; } public function setStart(?float $start): self { $this->start = $start; return $this; } public function getEnd(): ?float { return $this->end; } public function setEnd(?float $end): self { $this->end = $end; return $this; } public function getPoints(): ?int { return $this->points; } public function setPoints(?int $points): self { $this->points = $points; return $this; } public function getItemsStart(): ?string { return $this->itemsStart; } public function setItemsStart(string $start): self { $this->itemsStart = $start; return $this; } /** * @return mixed */ public function getMoveCount() { return $this->moveCount; } /** * @param mixed $moveCount * @return MemoryGame */ public function setMoveCount($moveCount) { $this->moveCount = $moveCount; return $this; } /** * @return mixed */ public function getItemsChecked() { return $this->itemsChecked; } /** * @param mixed $itemsChecked * @return MemoryGame */ public function setItemsChecked($itemsChecked) { $this->itemsChecked = $itemsChecked; return $this; } /** * @return mixed */ public function getItemsLeft() { return $this->itemsLeft; } /** * @param mixed $itemsLeft * @return MemoryGame */ public function setItemsLeft($itemsLeft) { $this->itemsLeft = $itemsLeft; return $this; } /** * @return mixed */ public function getQuiz() { return $this->quiz; } /** * @param mixed $quiz * @return Answear */ public function setQuiz($quiz) { $this->quiz = $quiz; return $this; }}