Ejemplo n.º 1
0
 /**
  * Do what's needed to get the image from storage
  * depending on the type.
  * After this method is called $this->image must hold an
  * instance of \OCP\Image.
  */
 protected function processImage()
 {
     $this->image = new Image();
     $this->image->loadFromData($this->cache->get($this->key));
 }