forked from leftypol/leftypol
ImageMetadata.php: rename from ImageMetadataResult.php
This commit is contained in:
parent
c3f63ee79a
commit
322543a2e0
1 changed files with 1 additions and 1 deletions
17
inc/Data/ImageMetadata.php
Normal file
17
inc/Data/ImageMetadata.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
namespace Vichan\Data;
|
||||
|
||||
|
||||
class ImageMetadata {
|
||||
public int $width;
|
||||
public int $height;
|
||||
public string $mime;
|
||||
public ?int $exif_orientation;
|
||||
|
||||
public function __construct(int $width, int $height, string $mime, ?int $exif_orientation) {
|
||||
$this->width = $$width;
|
||||
$this->height = $$height;
|
||||
$this->mime = $mime;
|
||||
$this->exif_orientation = $exif_orientation;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue