1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-28 16:19:50 +02:00

Update src/Intervention/Image/Image.php

Added return object Image for chaining
This commit is contained in:
David D.
2013-02-27 14:43:18 -07:00
parent 207b2b12fa
commit 0341961b52

View File

@@ -330,6 +330,7 @@ class Image
throw new Exception('x, y, width and height needs to be defined');
}
$this->modify(0, 0, $src_x , $src_y, $src_w, $src_h, $src_w, $src_h);
return $this;
}
/**