Invert   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php namespace Modules\Media\Image\Intervention\Manipulations;
2
3
use Modules\Media\Image\ImageHandlerInterface;
4
5
class Invert implements ImageHandlerInterface
6
{
7
    /**
8
     * Handle the image manipulation request
9
     * @param  \Intervention\Image\Image $image
10
     * @param  array                     $options
11
     * @return \Intervention\Image\Image
12
     */
13
    public function handle($image, $options)
14
    {
15
        return $image->invert();
16
    }
17
}
18