public function sendToDisk($filename)
    {
        $filePath = self::getOutputPath($filename);
        $this->pImage->render($filePath);
        return $filePath;
    }
public function sendToDisk($filename)
    {
        $filePath = self::getOutputPath($filename);
        $this->pImage->render($filePath);
        return $filePath;
    }
public function sendToDisk ( $ filename ) { $ filePath = self :: getOutputPath ( $ filename ) ; $ this -> pImage -> render ( $ filePath ) ; return $ filePath ; }
Save rendering to disk

@param string $filename without path
@return string path of file
Save rendering to disk