diff options
author | Hannes Kindströmmer <hannes@kindstrommer.se> | 2017-03-17 16:46:07 +0100 |
---|---|---|
committer | Hannes Kindströmmer <hannes@kindstrommer.se> | 2017-03-17 16:46:07 +0100 |
commit | db1fa6a23c72963bb114a4744642d8ebfded89ad (patch) | |
tree | f008b2dd1c8c32e784fc0c0d2e6ed207be6f41e8 | |
parent | 2cb45bae7080166abb1a0834562f6c1194924bae (diff) | |
download | ip1-php-sdk-db1fa6a23c72963bb114a4744642d8ebfded89ad.zip ip1-php-sdk-db1fa6a23c72963bb114a4744642d8ebfded89ad.tar.gz ip1-php-sdk-db1fa6a23c72963bb114a4744642d8ebfded89ad.tar.bz2 |
Add missing function
Signed-off-by: Hannes Kindströmmer <hannes@kindstrommer.se>
-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 |