feat: implement preview manager
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace KTXC\Preview;
|
||||
|
||||
use KTXF\Resource\BinaryResource;
|
||||
|
||||
final readonly class Preview
|
||||
{
|
||||
public function __construct(
|
||||
public BinaryResource $resource,
|
||||
public int $size,
|
||||
public string $etag,
|
||||
public ?int $width = null,
|
||||
public ?int $height = null,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user