/** * @param FilesystemInterface $_fs * @return File */ public function getSyllabusFile(FilesystemInterface $_fs) { if ($this->syllabus_id && !$this->_syllabus) { $this->_syllabus = File::find($this->_pdo, $_fs, $this->syllabus_id); } return $this->_syllabus; }
/** * @param FilesystemInterface $_fs * @return File */ public function getImageFile(FilesystemInterface $_fs) { if ($this->image_file_id && !$this->_image_file) { $this->_image_file = File::find($this->_pdo, $_fs, $this->image_file_id); } return $this->_image_file; }