| 1 | <?php |
||
| 11 | class Test |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @ORM\Id |
||
| 15 | * @ORM\Column(type="integer"); |
||
| 16 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 17 | */ |
||
| 18 | protected $id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @ORM\Column(type="string", nullable=true) |
||
| 22 | */ |
||
| 23 | protected $username; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @ORM\Column(type="string", nullable=true) |
||
| 27 | */ |
||
| 28 | protected $password; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return int|null |
||
| 32 | */ |
||
| 33 | public function getId() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $password |
||
| 40 | */ |
||
| 41 | public function setPassword($password) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string|null |
||
| 48 | */ |
||
| 49 | public function getPassword() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $username |
||
| 56 | */ |
||
| 57 | public function setUsername($username) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string|null |
||
| 64 | */ |
||
| 65 | public function getUsername() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Used for testing DoctrineEntity form element |
||
| 72 | * |
||
| 73 | * @return string |
||
| 74 | */ |
||
| 75 | public function __toString() |
||
| 79 | } |
||
| 80 |