diff options
-rw-r--r-- | src/Recipient/ProcessedGroup.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Recipient/ProcessedGroup.php b/src/Recipient/ProcessedGroup.php index eef4f79..76deca3 100644 --- a/src/Recipient/ProcessedGroup.php +++ b/src/Recipient/ProcessedGroup.php @@ -145,6 +145,14 @@ class ProcessedGroup extends Group implements UpdatableComponentInterface, Membe return $this->contacts; } /** + * Tells whether contacts has been fetched from the API or not. + * @return boolean Whether the contacts has been fetched from the API or not. + */ + public function contactsFetched(): bool + { + return $this->contactsFetched; + } + /** * @param Communicator $communicator Used to add the membership to the API. * @param ProcessedContact $contact The contact that is to be added to the Group. * @return ProcessedMembership |