diff --git a/src/PHPJasper.php b/src/PHPJasper.php index 846424b..f4b3ec8 100644 --- a/src/PHPJasper.php +++ b/src/PHPJasper.php @@ -229,7 +229,17 @@ public function execute($user = false) */ public function output() { - print $this->command . "\n"; + return $this->command; + } + + /** + * Prints the command. + * + * @return void + */ + public function printOutput() + { + print $this->output() . "\n"; } /**