src/Manipulators/Brightness.php
public function run(Image $image)
    {
        $brightness = $this->getBrightness();

        if ($brightness !== null) {
            $image->brightness($brightness);
        }

        return $image;
    }
public function run(Image $image)
    {
        $brightness = $this->getBrightness();

        if ($brightness !== null) {
            $image->brightness($brightness);
        }

        return $image;
    }
public function run ( Image $ image ) { $ brightness = $ this -> getBrightness ( ) ; if ( $ brightness !== null ) { $ image -> brightness ( $ brightness ) ; } return $ image ; }
Perform brightness image manipulation.
@param  Image $image The source image.
@return Image The manipulated image.
Perform brightness image manipulation .