Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Image/ImageOutputOptions.php
Строк: 23
<?php

namespace IlluminateImage;

class 
ImageOutputOptions
{
    
/**
     * The default output quality.
     */
    
const DEFAULT_QUALITY 70;

    
/**
     * The output format.
     *
     * @var 'webp'|'jpg'|'jpeg'|'png'|'gif'|'avif'|'bmp'|null
     */
    
public ?string $format null;

    
/**
     * The output quality (1-100).
     *
     * @var int<1, 100>|null
     */
    
public ?int $quality null;

    
/**
     * Determine if any output options have been set.
     */
    
public function hasChanges(): bool
    
{
        return 
$this->format !== null || $this->quality !== null;
    }
}
Онлайн: 2
Реклама