Skip to content

Commit

Permalink
Added some spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cully Larson committed Sep 8, 2015
1 parent c6a3143 commit 7a210ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Cully/ICommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ interface ICommand {
* @return void
*/
public function exec($command, $cwd=null, array $env=[]);

/**
* @return bool
*/
public function hasRun();

/**
* Whether the last command succeeded. Will return FALSE if no
* command has been executed (we haven't succeeded because we
Expand All @@ -25,6 +27,7 @@ public function hasRun();
* @return bool
*/
public function success();

/**
* Whether the last command failed. This will return FALSE if no
* command has been executed (we haven't failed because we haven't
Expand All @@ -33,25 +36,29 @@ public function success();
* @return bool
*/
public function failure();

/**
* The last command executed.
*
* @return string
*/
public function getCommand();

/**
* Will be null if a command hasn't been executed, or if the
* last executed command didn't return an exit code.
*
* @return int|null
*/
public function getExitStatus();

/**
* Standard output from command.
*
* @return string
*/
public function getOutput();

/**
* Standard error from the command.
*
Expand Down

0 comments on commit 7a210ba

Please sign in to comment.