Completed
Push — master ( 0a7932...aee286 )
by Maksim
13s
created

StripFilterLoader::load()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 2
1
<?php
2
3
namespace Liip\ImagineBundle\Imagine\Filter\Loader;
4
5
use Imagine\Filter\Basic\Strip;
6
use Imagine\Image\ImageInterface;
7
8
class StripFilterLoader implements LoaderInterface
9
{
10
    public function load(ImageInterface $image, array $options = array())
11
    {
12
        $filter = new Strip();
13
        $image = $filter->apply($image);
14
15
        return $image;
16
    }
17
}
18