public function getEntityId() : string { return (string) $this->community->getSID(); }
public function __construct(Profile $profile, Community $community) { $this->profile = $profile; $this->community = $community; $this->communitySID = $community->getSID(); }