hasColorSupport() 공개 정적인 메소드

This code has been copied and adapted from Symfony\Component\Console\Output\OutputStream.
public static hasColorSupport ( ) : boolean
리턴 boolean
예제 #1
0
파일: CliTest.php 프로젝트: jbzoo/utils
 /**
  * @covers \JBZoo\Utils\Cli::hasColorSupport
  * @uses   \JBZoo\Utils\Cli::isInteractive
  */
 public function testCanDetectColorSupport()
 {
     $this->assertInternalType('boolean', Cli::hasColorSupport());
 }