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