123456789101112131415161718192021222324252627 |
- <?php
- namespace Tree\Fixture\Closure;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * @ORM\Entity
- */
- class User extends Person
- {
- /**
- * @ORM\Column(name="username", type="string", length=64)
- */
- private $username;
- public function setUsername($username)
- {
- $this->username = $username;
- }
- public function getUsername()
- {
- return $this->username;
- }
- }
|