Add getName helper method

This commit is contained in:
Ryan Prather 2024-12-17 11:57:10 -05:00
parent c2710b7142
commit 365a486c84

View File

@ -144,6 +144,11 @@ class Member
return $this; return $this;
} }
public function getName(): string
{
return "{$this->firstName} {$this->lastName}";
}
public function getRelationship(): ?RelationshipType public function getRelationship(): ?RelationshipType
{ {
return $this->relationship; return $this->relationship;