Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Dto;
- class LoginDto {
- private ?string $email;
- private ?string $password;
- public function __construct()
- {
- $this->email = null;
- $this->password = null;
- }
- public function getEmail(): ?string {
- return $this->email;
- }
- public function setEmail( string $email ): self {
- $this->email = $email;
- return $this;
- }
- public function getPassword(): ?string {
- return $this->password;
- }
- public function setPassword( string $password ): self {
- $this->password = $password;
- return $this;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement