public function getSigner() { if ($this->signer == null) { if ($this->signerId !== null) { // Retrieve signer from signer id $this->signer = $this->document->getCaseFile()->findSigner($this->signerId); } else { // Retrieve signer from API $signers = parent::getLinkedEntities($this, 'Penneo\\SDK\\Signer'); $this->signer = $signers[0]; } } return $this->signer; }
public function getCaseFiles() { return parent::getLinkedEntities($this, 'Penneo\\SDK\\CaseFile'); }
public function getCaseFileTemplate() { if ($this->id && !$this->caseFileType) { $caseFileTypes = parent::getLinkedEntities($this, 'Penneo\\SDK\\CaseFileTemplate'); $this->caseFileType = $caseFileTypes[0]; } return $this->caseFileType; }
public function getEventLog() { return parent::getLinkedEntities($this, 'Penneo\\SDK\\LogEntry'); }
public function getDocumentType() { if ($this->id && !$this->documentType) { $documentTypes = parent::getLinkedEntities($this, 'Penneo\\SDK\\DocumentType'); $this->documentType = $documentTypes[0]; } return $this->documentType; }