public function build($dir, $quality, array $options = array())
    {
        // Alter default quality on demand
        if (isset($options['quality'])) {
            $quality = $options['quality'];
        }

        return new Thumb($dir, $options['dimensions'], $quality);
    }
public function build($dir, $quality, array $options = array())
    {
        // Alter default quality on demand
        if (isset($options['quality'])) {
            $quality = $options['quality'];
        }

        return new Thumb($dir, $options['dimensions'], $quality);
    }
public function build ( $ dir , $ quality , array $ options = array ( ) ) { // Alter default quality on demand if ( isset ( $ options [ 'quality' ] ) ) { $ quality = $ options [ 'quality' ] ; } return new Thumb ( $ dir , $ options [ 'dimensions' ] , $ quality ) ; }
Builds thumb uploader

@param string $dir Target directory
@param integer $quality Desired quality for thumbs
@param array $options
@return \Krystal\Image\Tool\Upload\Plugin\ThumbFactory
Builds thumb uploader