Exemplo n.º 1
0
 /**
  * @param string $filename
  *
  * @return \livetyping\hermitage\foundation\entities\Image
  * @throws \livetyping\hermitage\foundation\exceptions\ImageNotFoundException
  */
 protected function prepare(string $filename)
 {
     if (!Util::isOriginal($filename) && !$this->storage->has($filename)) {
         $this->makeVersion($filename);
     }
 }