for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Chrl\AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class Question
* @package AppBundle\Entity
*
* @ORM\Entity
* @ORM\Table(name="questions")
*/
class Question
{
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* @return mixed
public function getId()
return $this->id;
}
* @param mixed $id
public function setId($id)
$this->id = $id;
* GUID Of the question -- unique
* @ORM\Column(type="string",length=32,unique=true)
public $guid;
* @ORM\Column(type="text")
public $text;
public $a1;
public $a2;
public $a3;
public $a4;
public $price;
public $played;
public $correct;
* @ORM\Column(type="string", length=30)
public $category;