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 4d43ea8 + 542a2b8 commit 81ea7eaCopy full SHA for 81ea7ea
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