Question entity

pull/10/head
root 2018-06-04 18:27:20 +02:00
parent 5f8ac43ef2
commit 3fba1517c4
1 changed files with 3 additions and 4 deletions

View File

@ -47,19 +47,18 @@ class Question
*/
private $responses;
public function __construct(TestSerializer $testSerializer)
public function __construct()
{
$this->responses = new ArrayCollection();
$this->date = new \DateTime();
$this->testSerializer = $testSerializer;
}
public function __invoke(Question $question): Question
/*public function __invoke(Question $question): Question
{
$this->testSerializer->test();
return $question;
}
}*/
public function getId()
{