public function save($filename)
    {
        $this->setFilename($filename);

        call_user_func_array($this->getFunctionName(), [$this->getImage(), $filename]);

        return $filename;
    }
public function save($filename)
    {
        $this->setFilename($filename);

        call_user_func_array($this->getFunctionName(), [$this->getImage(), $filename]);

        return $filename;
    }
public function save ( $ filename ) { $ this -> setFilename ( $ filename ) ; call_user_func_array ( $ this -> getFunctionName ( ) , [ $ this -> getImage ( ) , $ filename ] ) ; return $ filename ; }
Render the QR Code then save it to given file name

@param string $filename

@throws ImageFunctionUnknownException

@return string
Render the QR Code then save it to given file name