diff --git a/src/Entity/Member.php b/src/Entity/Member.php index 7afe290..6ed7b91 100644 --- a/src/Entity/Member.php +++ b/src/Entity/Member.php @@ -144,6 +144,11 @@ class Member return $this; } + public function getName(): string + { + return "{$this->firstName} {$this->lastName}"; + } + public function getRelationship(): ?RelationshipType { return $this->relationship;