We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0bb4f6 commit 1630af1Copy full SHA for 1630af1
src/PHPJasper.php
@@ -229,7 +229,17 @@ public function execute($user = false)
229
*/
230
public function output()
231
{
232
- print $this->command . "\n";
+ return $this->command;
233
+ }
234
+
235
+ /**
236
+ * Prints the command.
237
+ *
238
+ * @return void
239
+ */
240
+ public function printOutput()
241
+ {
242
+ print $this->output() . "\n";
243
}
244
245
/**
0 commit comments