Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Schmidt committed Oct 31, 2018
1 parent 6a07ad9 commit ce01109
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Classes/Utility/IO.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,27 @@ public function isNoAnsi(): bool
return $this->noAnsi;
}

/**
* Set if answers should default to 'yes' in quiet mode.
*
* @param bool $assumeYes
* @return void
*/
public function setAssumeYes(bool $assumeYes)
{
$this->assumeYes = $assumeYes;
}

/**
* Get if answers default to 'yes' in quiet mode.
*
* @return bool
*/
public function isYesAssumed() : bool
{
return $this->assumeYes;
}

// Input

/**
Expand Down

0 comments on commit ce01109

Please sign in to comment.