Example #1
0
 /**
  * @TODO: is it wise to pass file storage here?
  *
  * @param Image $image
  * @param FileStorage $fileStorage
  */
 public function __construct(Image $image, FileStorage $fileStorage)
 {
     parent::__construct('img');
     $this->image = $image;
     $this->fileStorage = $fileStorage;
 }