| 1 | <?php  | 
            ||
| 21 | class AdminUser extends BaseUser implements AdminUserInterface  | 
            ||
| 22 | { | 
            ||
| 23 | /**  | 
            ||
| 24 | * @var string|null  | 
            ||
| 25 | *  | 
            ||
| 26 | * @ORM\Column(type="string", nullable=true)  | 
            ||
| 27 | */  | 
            ||
| 28 | private $lastName;  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * @var string|null  | 
            ||
| 32 | *  | 
            ||
| 33 | * @ORM\Column(type="string", nullable=true)  | 
            ||
| 34 | */  | 
            ||
| 35 | private $firstName;  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @var AdminAvatarInterface|null  | 
            ||
| 39 | *  | 
            ||
| 40 |      * @ORM\OneToOne(targetEntity="App\Entity\User\AdminAvatar", cascade={"persist"}) | 
            ||
| 41 | */  | 
            ||
| 42 | private $avatar;  | 
            ||
| 43 | |||
| 44 | public function __construct()  | 
            ||
| 50 | |||
| 51 | /**  | 
            ||
| 52 |      * {@inheritdoc} | 
            ||
| 53 | */  | 
            ||
| 54 | public function getLastName(): ?string  | 
            ||
| 58 | |||
| 59 | /**  | 
            ||
| 60 |      * {@inheritdoc} | 
            ||
| 61 | */  | 
            ||
| 62 | public function setLastName(?string $lastName): void  | 
            ||
| 66 | |||
| 67 | /**  | 
            ||
| 68 |      * {@inheritdoc} | 
            ||
| 69 | */  | 
            ||
| 70 | public function getFirstName(): ?string  | 
            ||
| 74 | |||
| 75 | /**  | 
            ||
| 76 |      * {@inheritdoc} | 
            ||
| 77 | */  | 
            ||
| 78 | public function setFirstName(?string $firstName): void  | 
            ||
| 82 | |||
| 83 | /**  | 
            ||
| 84 |      * {@inheritdoc} | 
            ||
| 85 | */  | 
            ||
| 86 | public function getAvatar(): ?AdminAvatarInterface  | 
            ||
| 90 | |||
| 91 | /**  | 
            ||
| 92 |      * {@inheritdoc} | 
            ||
| 93 | */  | 
            ||
| 94 | public function setAvatar(?AdminAvatarInterface $avatar): void  | 
            ||
| 98 | }  | 
            ||
| 99 |