forked from leftypol/leftypol
26 lines
547 B
PHP
26 lines
547 B
PHP
<?php
|
|
namespace Vichan\Data;
|
|
|
|
|
|
class ThumbGenerationResult {
|
|
public string $thumb_file_path;
|
|
public string $thumb_mime;
|
|
public bool $is_thumb_file_temporary;
|
|
public int $width;
|
|
public int $height;
|
|
|
|
|
|
public function __construct(
|
|
string $thumb_file_path,
|
|
string $thumb_mime,
|
|
bool $is_thumb_file_temporary,
|
|
int $width,
|
|
int $height
|
|
) {
|
|
$this->thumb_file_path = $thumb_file_path;
|
|
$this->thumb_mime = $thumb_mime;
|
|
$this->is_thumb_file_temporary = $is_thumb_file_temporary;
|
|
$this->width = $width;
|
|
$this->height = $height;
|
|
}
|
|
}
|