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

StripFilterLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
dl 0
loc 10
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 7 1
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