Pull merge.
[yaffs-website] / vendor / consolidation / robo / src / Contract / VerbosityThresholdInterface.php
1 <?php
2 namespace Robo\Contract;
3
4 use Robo\Contract\OutputAdapterInterface;
5
6 /**
7  * Record and determine whether the current verbosity level exceeds the
8  * desired threshold level to produce output.
9  */
10 interface VerbosityThresholdInterface
11 {
12     const VERBOSITY_NORMAL = 1;
13     const VERBOSITY_VERBOSE = 2;
14     const VERBOSITY_VERY_VERBOSE = 3;
15     const VERBOSITY_DEBUG = 4;
16
17     public function setVerbosityThreshold($verbosityThreshold);
18     public function verbosityThreshold();
19     public function setOutputAdapter(OutputAdapterInterface $outputAdapter);
20     public function outputAdapter();
21     public function hasOutputAdapter();
22     public function verbosityMeetsThreshold();
23     public function writeMessage($message);
24 }