Phalcon\Cli\Environment\Environment::hasColorSupport PHP 메소드

hasColorSupport() 공개 메소드

public hasColorSupport ( ) : boolean
리턴 boolean
    public function hasColorSupport()
    {
        if ($this->isWindows()) {
            return $this->isAnsicon();
        }
        if (!defined('STDOUT')) {
            return false;
        }
        return $this->isInteractive(STDOUT);
    }