Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Contract / VerbosityThresholdInterface.php
diff --git a/vendor/consolidation/robo/src/Contract/VerbosityThresholdInterface.php b/vendor/consolidation/robo/src/Contract/VerbosityThresholdInterface.php
new file mode 100644 (file)
index 0000000..e63a1f7
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+namespace Robo\Contract;
+
+use Robo\Contract\OutputAdapterInterface;
+
+/**
+ * Record and determine whether the current verbosity level exceeds the
+ * desired threshold level to produce output.
+ */
+interface VerbosityThresholdInterface
+{
+    const VERBOSITY_NORMAL = 1;
+    const VERBOSITY_VERBOSE = 2;
+    const VERBOSITY_VERY_VERBOSE = 3;
+    const VERBOSITY_DEBUG = 4;
+
+    public function setVerbosityThreshold($verbosityThreshold);
+    public function verbosityThreshold();
+    public function setOutputAdapter(OutputAdapterInterface $outputAdapter);
+    public function outputAdapter();
+    public function hasOutputAdapter();
+    public function verbosityMeetsThreshold();
+    public function writeMessage($message);
+}