public function load(ImageInterface $image, array $options = [])
    {
        $angle = isset($options['angle']) ? (int) $options['angle'] : 0;

        return 0 === $angle ? $image : $image->rotate($angle);
    }
public function load(ImageInterface $image, array $options = [])
    {
        $angle = isset($options['angle']) ? (int) $options['angle'] : 0;

        return 0 === $angle ? $image : $image->rotate($angle);
    }
public function load ( ImageInterface $ image , array $ options = [ ] ) { $ angle = isset ( $ options [ 'angle' ] ) ? ( int ) $ options [ 'angle' ] : 0 ; return 0 === $ angle ? $ image : $ image -> rotate ( $ angle ) ; }
Loads and applies a filter on the given image.

@param ImageInterface $image
@param array          $options

@return ManipulatorInterface
Loads and applies a filter on the given image .