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.
2 parents b0bb4f6 + 1630af1 commit 542a2b8Copy full SHA for 542a2b8
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