getThumbnail() public method

Get thumbnail
public getThumbnail ( Newscoop\Image\ImageInterface $image, ImageService $imageService ) : Newscoop\Image\Thumbnail
$image Newscoop\Image\ImageInterface
$imageService ImageService
return Newscoop\Image\Thumbnail
示例#1
0
 /**
  * Get thumbnail for given image and rendition
  *
  * @param Newscoop\Image\Rendition      $rendition
  * @param Newscoop\Image\ImageInterface $image
  *
  * @return Newscoop\Image\Thumbnail
  */
 public function getThumbnail(Rendition $rendition, ImageInterface $image)
 {
     return $rendition->getThumbnail($image, $this);
 }
 public function getThumbnail(\Newscoop\Image\ImageInterface $image, \Newscoop\Image\ImageService $imageService)
 {
     $this->__load();
     return parent::getThumbnail($image, $imageService);
 }