| 1 |
<?php |
| 2 |
|
| 3 |
namespace League\Glide\Manipulators; |
| 4 |
|
| 5 |
use Intervention\Image\Image; |
| 6 |
|
| 7 |
interface ManipulatorInterface |
| 8 |
{ |
| 9 |
/** |
| 10 |
* Set the manipulation params. |
| 11 |
* |
| 12 |
* @param array $params The manipulation params. |
| 13 |
*/ |
| 14 |
public function setParams(array $params); |
| 15 |
|
| 16 |
/** |
| 17 |
* Perform the image manipulation. |
| 18 |
* |
| 19 |
* @param Image $image The source image. |
| 20 |
* |
| 21 |
* @return Image The manipulated image. |
| 22 |
*/ |
| 23 |
public function run(Image $image); |
| 24 |
} |
| 25 |
|