✨ optional file saving through QROutputInterface::dump()

This commit is contained in:
codemasher
2018-09-19 11:04:23 +02:00
parent c13e006947
commit a5486e5482
4 changed files with 38 additions and 20 deletions
+3 -1
View File
@@ -18,8 +18,10 @@ namespace chillerlan\QRCode\Output;
interface QROutputInterface{
/**
* @param string|null $file
*
* @return mixed
*/
public function dump();
public function dump(string $file = null);
}