Skip to content

Commit

Permalink
Forgot getters for Member
Browse files Browse the repository at this point in the history
  • Loading branch information
eekes committed Feb 6, 2022
1 parent 100435c commit fbf2b9e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Entity/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,24 @@ public static function createFromResponse(\stdClass $response): self

return $member;
}

public function getId(): string
{
return $this->id;
}

public function getLastName(): ?string
{
return $this->lastName;
}

public function getFirstName(): ?string
{
return $this->firstName;
}

public function getBirthDate(): ?\DateTimeImmutable
{
return $this->birthDate;
}
}

0 comments on commit fbf2b9e

Please sign in to comment.