add getId() getter

This commit is contained in:
Marc Michalsky forumZFD 2021-02-11 18:43:11 +01:00
parent a0ad2880b1
commit dc4d5a697c
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -358,5 +358,13 @@ class CRM_TwingleCampaign_BAO_TwingleCampaign {
// TODO: implement cloning
}
/**
* ## Get ID
* @return mixed|null
*/
public function getId(): int {
return (int) $this->id;
}
}