| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | class MyEntity2 |
||
| 43 | { |
||
| 44 | /** |
||
| 45 | * @ORM\Id |
||
| 46 | * @ORM\Column(type="integer") |
||
| 47 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 48 | */ |
||
| 49 | private $id; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @ORM\Column |
||
| 53 | */ |
||
| 54 | private $value; |
||
| 55 | |||
| 56 | public function __construct($value) |
||
| 57 | { |
||
| 58 | $this->value = $value; |
||
| 59 | } |
||
| 60 | |||
| 61 | public function getId() |
||
| 62 | { |
||
| 63 | return $this->id; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function getValue() |
||
| 67 | { |
||
| 68 | return $this->value; |
||
| 69 | } |
||
| 70 | |||
| 71 | public function setValue($value) |
||
| 74 | } |
||
| 75 | } |
||
| 76 |