/** * @return string */ public function getFormImage() { // generating image file from TS; if ( !$this->forceUpdate ) { $imageFile = $this->fileUtils->fetchContents(); } else { $imageFile = $this->generateAndSaveImage(); } return $imageFile; }