Skip to content

Commit

Permalink
Update interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCrankHank committed Sep 24, 2016
1 parent b925628 commit 80e2d7c
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/Interfaces/ConsoleAccessInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,31 @@ interface ConsoleAccessInterface
{
public function __construct(AdapterInterface $adapter);

public function sudo($sudo = '/usr/bin/sudo');

public function bin($bin, $escape = true);

public function param($param, $hidden = false, $escape = true);

public function exec(Closure $live = null);

public function getOutput();

public function getExitStatus();

public function getBin();

public function getParams();

public function exec(Closure $live = null);
public function setPreExec(Closure $function);

public function bin($bin);
public function setPostExec(Closure $function);

public function param($param, $escape = true);
public function getParams();

public function getStart();

public function getEnd();

public function getDuration();

public function sudo($sudo = '/usr/bin/sudo');

public function setPreExec(Closure $function);

public function setPostExec(Closure $function);
public function getCommand();
}

0 comments on commit 80e2d7c

Please sign in to comment.