class Drush8IoWrapper in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 4.0.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.0.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.1.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.2.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.3.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.4.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.6.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.7.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
- 3.8.x src/Cli/Commands/Drush8/Drush8IoWrapper.php \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
Class Drush8IoWrapper. Originally from ConfigSplitDrush8Io.
This is a stand in for \Symfony\Component\Console\Style\StyleInterface with drush 8 so that we don't need to depend on symfony components.
Hierarchy
- class \Drupal\lingotek\Cli\Commands\Drush8\Drush8IoWrapper
Expanded class hierarchy of Drush8IoWrapper
1 file declares its use of Drush8IoWrapper
- lingotek.drush.inc in ./
lingotek.drush.inc - Drush 8 integration for Lingotek.
File
- src/
Cli/ Commands/ Drush8/ Drush8IoWrapper.php, line 14
Namespace
Drupal\lingotek\Cli\Commands\Drush8View source
class Drush8IoWrapper {
public function writeln($text) {
$this
->success($text);
}
public function confirm($text) {
return drush_confirm($text);
}
public function success($text) {
drush_log($text, LogLevel::SUCCESS);
}
public function error($message, array $context = []) {
drush_log($message, LogLevel::ERROR);
}
public function text($text) {
drush_log($text, LogLevel::NOTICE);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Drush8IoWrapper:: |
public | function | ||
Drush8IoWrapper:: |
public | function | ||
Drush8IoWrapper:: |
public | function | ||
Drush8IoWrapper:: |
public | function | ||
Drush8IoWrapper:: |
public | function |