private function getThumbnail($fileName = null, $width = null, $height = null, $scale = null)
    {
        $thumb = new Thumbnail($this->config->get('general/thumbnails'));
        $thumb
            ->setFileName($fileName)
            ->setWidth($width)
            ->setHeight($height)
            ->setScale($scale)
        ;

        return $thumb;
    }
private function getThumbnail($fileName = null, $width = null, $height = null, $scale = null)
    {
        $thumb = new Thumbnail($this->config->get('general/thumbnails'));
        $thumb
            ->setFileName($fileName)
            ->setWidth($width)
            ->setHeight($height)
            ->setScale($scale)
        ;

        return $thumb;
    }
private function getThumbnail ( $ fileName = null , $ width = null , $ height = null , $ scale = null ) { $ thumb = new Thumbnail ( $ this -> config -> get ( 'general/thumbnails' ) ) ; $ thumb -> setFileName ( $ fileName ) -> setWidth ( $ width ) -> setHeight ( $ height ) -> setScale ( $ scale ) ; return $ thumb ; }
Get a thumbnail object.

@param string|array $fileName
@param int          $width
@param int          $height
@param string       $scale

@return Thumbnail
Get a thumbnail object .