Skip to content

Commit 25c95ca

Browse files
author
Mitch
committed
Drop createFromFile, as it is duplicate functionality of just creating a new object
1 parent cc5c699 commit 25c95ca

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/ImageResize.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,6 @@ class ImageResize
3838
protected $source_w;
3939
protected $source_h;
4040

41-
/**
42-
* Create instance from a file
43-
*
44-
* @param string $filename
45-
* @return ImageResize
46-
* @throws \Exception
47-
*/
48-
public static function createFromFile($filename) {
49-
$s = new self();
50-
$s->loadFromFile($filename);
51-
return $s;
52-
}
53-
5441
/**
5542
* Create instance from a strng
5643
*

0 commit comments

Comments
 (0)