Skip to content

Commit 81ea7ea

Browse files
authored
Merge pull request #192 from PHPJasper/master
Merge master into develop
2 parents 4d43ea8 + 542a2b8 commit 81ea7ea

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/PHPJasper.php

+11-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,17 @@ public function execute($user = false)
229229
*/
230230
public function output()
231231
{
232-
print $this->command . "\n";
232+
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";
233243
}
234244

235245
/**

0 commit comments

Comments
 (0)