hasColorSupport() public static method

This code has been copied and adapted from Symfony\Component\Console\Output\OutputStream.
public static hasColorSupport ( ) : boolean
return boolean
Esempio n. 1
0
 /**
  * @covers \JBZoo\Utils\Cli::hasColorSupport
  * @uses   \JBZoo\Utils\Cli::isInteractive
  */
 public function testCanDetectColorSupport()
 {
     $this->assertInternalType('boolean', Cli::hasColorSupport());
 }