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