Phrozn\Runner\CommandLine\Callback\Base::useAnsiColors PHP Method

useAnsiColors() private method

private useAnsiColors ( )
    private function useAnsiColors()
    {
        if (null === $this->useAnsiColors) {
            $config = $this->getConfig();
            $meta = Yaml::parse($config['paths']['configs'] . 'phrozn.yml');
            $this->useAnsiColors = (bool) $meta['use_ansi_colors'];
        }
        return $this->useAnsiColors;
    }