public function __construct(\AppBundle\Entity\Answer $answer) { $this->statement = $answer->getStatement(); $this->id = $answer->getId(); }
public function __construct(\AppBundle\Entity\Answer $answer) { $this->statement = $answer->getStatement(); $this->id = $answer->getId(); }