src/Handler/OpenImageHandler.php
public function loadImage($image)
    {
        $imageLibrary = ucfirst($this->imageLibrary);
        $functionName = 'loadWith' . $imageLibrary;
        $this->image = $image;

        if (!method_exists($this, $functionName)) {
            throw new IcrRuntimeException('Wrong image library name provided!');
        }

        return call_user_func([$this, $functionName]);
    }
public function loadImage($image)
    {
        $imageLibrary = ucfirst($this->imageLibrary);
        $functionName = 'loadWith' . $imageLibrary;
        $this->image = $image;

        if (!method_exists($this, $functionName)) {
            throw new IcrRuntimeException('Wrong image library name provided!');
        }

        return call_user_func([$this, $functionName]);
    }
public function loadImage ( $ image ) { $ imageLibrary = ucfirst ( $ this -> imageLibrary ) ; $ functionName = 'loadWith' . $ imageLibrary ; $ this -> image = $ image ; if ( ! method_exists ( $ this , $ functionName ) ) { throw new IcrRuntimeException ( 'Wrong image library name provided!' ) ; } return call_user_func ( [ $ this , $ functionName ] ) ; }
Loads image from data string with imagine based on the driver name

@param string $image Image as string

@return AbstractImage
Loads image from data string with imagine based on the driver name