src/Handler/OpenImageHandler.php
public function openImage($path)
    {
        $imageLibrary = ucfirst($this->imageLibrary);
        $functionName = 'openWith' . $imageLibrary;
        $this->path = $path;

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

        return call_user_func([$this, $functionName]);
    }
public function openImage($path)
    {
        $imageLibrary = ucfirst($this->imageLibrary);
        $functionName = 'openWith' . $imageLibrary;
        $this->path = $path;

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

        return call_user_func([$this, $functionName]);
    }
public function openImage ( $ path ) { $ imageLibrary = ucfirst ( $ this -> imageLibrary ) ; $ functionName = 'openWith' . $ imageLibrary ; $ this -> path = $ path ; if ( ! method_exists ( $ this , $ functionName ) ) { throw new IcrRuntimeException ( 'Wrong image library name provided!' ) ; } return call_user_func ( [ $ this , $ functionName ] ) ; }
Open image from path with imagine library

@param string $path

@return AbstractImage
Open image from path with imagine library