<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
/**
* GameQuiz
*/
class GameQuiz {
/**
* @var int
*/
private $id;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $questions;
/**
* @var \DateTime
*/
private $createdAt;
/**
* Constructor
*/
public function __construct() {
$this->questions = new ArrayCollection();
}
public function getId() {
return $this->id;
}
public function getQuestions() {
return $this->questions;
}
public function getCreatedAt() {
return $this->createdAt;
}
public function setId(int $id) {
$this->id = $id;
}
public function setQuestions($questions) {
$this->questions = $questions;
}
public function setCreatedAt($createdAt) {
$this->createdAt = $createdAt;
}
}