ManipulatorInterface
last analyzed

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
setParams() 0 1 ?
run() 0 1 ?
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