src/Manipulators/Orientation.php
public function run(Image $image)
    {
        $orientation = $this->getOrientation();

        if ($orientation === 'auto') {
            return $image->orientate();
        }

        return $image->rotate($orientation);
    }
public function run(Image $image)
    {
        $orientation = $this->getOrientation();

        if ($orientation === 'auto') {
            return $image->orientate();
        }

        return $image->rotate($orientation);
    }
public function run ( Image $ image ) { $ orientation = $ this -> getOrientation ( ) ; if ( $ orientation === 'auto' ) { return $ image -> orientate ( ) ; } return $ image -> rotate ( $ orientation ) ; }
Perform orientation image manipulation.
@param  Image $image The source image.
@return Image The manipulated image.
Perform orientation image manipulation .