|
|
@ -51,8 +51,13 @@ abstract class Image extends File |
|
|
|
return static::$max_height; |
|
|
|
} |
|
|
|
|
|
|
|
public function getVariant($size) |
|
|
|
/** |
|
|
|
* @param $size |
|
|
|
* @param $force_create |
|
|
|
* @return ImageVariant |
|
|
|
*/ |
|
|
|
public function getVariant($size, $force_create = false) |
|
|
|
{ |
|
|
|
return parent::getImageVariant($size); |
|
|
|
return parent::getImageVariant($size, $force_create); |
|
|
|
} |
|
|
|
} |
xxxxxxxxxx