ManipulatorInterface::setParams()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
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
     * @param array $params The manipulation params.
12
     */
13
    public function setParams(array $params);
14
15
    /**
16
     * Perform the image manipulation.
17
     * @param  Image $image The source image.
18
     * @return Image The manipulated image.
19
     */
20
    public function run(Image $image);
21
}
22