Пример #1
0
 /**
  * Saves a static copy of the thumbnail to the web folder.
  *
  * @param string $requestPath
  * @param string $imageContent
  */
 protected function saveStaticThumbnail($requestPath, $imageContent)
 {
     if ($this->webFs === null || $requestPath === null) {
         return;
     }
     try {
         $this->webFs->write($requestPath, $imageContent);
     } catch (Exception $e) {
     }
 }