Beispiel #1
0
 /**
  * Get attachments repository for this task
  * @return Attachments
  */
 public function attachments()
 {
     $attachments = new Attachments($this->repository->getApiClient());
     $attachments->setContext($this->getContext());
     return $attachments;
 }
 /**
  * Get attachments repository for context
  * @param string $context
  * @return Attachments
  */
 public function attachmentsForContext($context)
 {
     $repository = new Attachments($this);
     $repository->setContext($context);
     return $repository;
 }