You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
429 B

<?php
namespace dimti\Image;
class ImageVariant extends File
{
public $width;
public $height;
public $type;
public $size;
/**
* @param $class string|\StdClass
* @return mixed
*/
public static function getIsClass($class)
{
if (is_object($class)) {
return (get_class($class) == __CLASS__);
} else {
return ($class == __CLASS__);
}
}
}