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