loadArray($data); } /** * Get the description of the reference * * @return string */ public function getDecription(): string { return $this->decription; } /** * Get the name of a possible contact person * * @return string */ public function getContactName(): string { return $this->contactName; } /** * Get the email address of a possible contact person * * @return string */ public function getContactEmail(): string { return $this->contactEmail; } /** * Get the phone number of a possible contact person * * @return string */ public function getContactPhone(): string { return $this->contactPhone; } /** * Check if the reference is published and can be viewed online * * @return boolean */ public function isPublic(): bool { return $this->public; } /** * Lik to a published example work * * @return unknown */ public function getPublicLink(): string { return $this->publicLink; } /** * Example work file * * @return \SplFileObject */ public function getFile(): \SplFileObject { return $this->file; } /** * Get the link to a file with example work * * @return string */ public function getFileLink(): string { return $this->fileLink; } }