Bkwld\Croppa\URL::phpThumbConfig PHP Метод

phpThumbConfig() публичный Метод

Take options in the URL and options from the config file and produce a config array in the format that PhpThumb expects
public phpThumbConfig ( array $options ) : array
$options array The url options from `parseOptions()`
Результат array
    public function phpThumbConfig($options)
    {
        return ['jpegQuality' => isset($options['quality']) ? $options['quality'][0] : $this->config['jpeg_quality'], 'interlace' => isset($options['interlace']) ? $options['interlace'][0] : $this->config['interlace'], 'resizeUp' => isset($options['upscale']) ? $options['upscale'][0] : $this->config['upscale']];
    }