[TASK] Enhanced status report.
[TASK] BoxImageClass now has some getters for height and width.
This commit is contained in:
@@ -145,4 +145,20 @@ class BoxImage {
|
||||
return imagepng($this->image, $filename, $compression);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets height.
|
||||
* @return int
|
||||
*/
|
||||
public function getHeight() {
|
||||
return $this->height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets width.
|
||||
* @return int
|
||||
*/
|
||||
public function getWidth() {
|
||||
return $this->width;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user