@@ -55,6 +55,14 @@ class ConsoleIO implements IOInterface
return $this->input->isInteractive();
}
+ /**
+ * {@inheritDoc}
+ */
+ public function isDecorated()
+ {
+ return $this->output->isDecorated();
+ }
+
/**
* {@inheritDoc}
*/
@@ -33,6 +33,13 @@ interface IOInterface
function isVerbose();
+ * Is this output decorated?
+ *
+ * @return Boolean
+ function isDecorated();
* Writes a message to the output.
*
@@ -35,6 +35,14 @@ class NullIO implements IOInterface
return false;
+ return false;