Add getName helper method
This commit is contained in:
parent
c2710b7142
commit
365a486c84
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user